Photoshop PSD import (Compositor 1.2.0, part one)
This commit is contained in:
1 parent
3d56688ce4
commit
2cd0d1b86d
41 files changed
+3912
-31
No files matched your search
@@ -1,11 +1,14 @@
|
||||
#pragma once
|
||||
#include <QImage>
|
||||
#include <QString>
|
||||
#include <QUuid>
|
||||
#include <compare>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <stdexcept>
|
||||
|
||||
class RasterSnapshot;
|
||||
struct PSDDocument;
|
||||
|
||||
// Which pixels an asset holds, as CGImage identity did.
|
||||
struct ImageIdentity {
|
||||
@@ -45,4 +48,6 @@ namespace ImageImporter {
|
||||
void liftAllocationLimit();
|
||||
// JPEG, PNG, TIFF or HEIC: upright, sRGB, premultiplied.
|
||||
ImportedImage decode(const QString &path, qint64 remainingPixels = 100'000'000);
|
||||
PSDDocument loadPhotoshop(const QString &path, qint64 remainingPixels = 100'000'000);
|
||||
std::map<QUuid, ImportedImage> photoshopAssets(const PSDDocument &document);
|
||||
}
|
||||
Reference in new issue
Block a user