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
@@ -5,6 +5,7 @@
|
||||
#include "Document/Selection.h"
|
||||
#include "IO/ImageImporter.h"
|
||||
#include "IO/ProjectStore.h"
|
||||
#include "IO/PSD/PSDTypes.h"
|
||||
#include <QImage>
|
||||
#include <QPainterPath>
|
||||
#include <QSet>
|
||||
@@ -30,6 +31,12 @@ struct SessionJobs {
|
||||
std::optional<ImportedImage> asset;
|
||||
QString failure;
|
||||
};
|
||||
// A Photoshop file read with its assets, or why not.
|
||||
struct PhotoshopRead {
|
||||
std::optional<PSDDocument> document;
|
||||
std::map<QUuid, ImportedImage> assets;
|
||||
QString failure;
|
||||
};
|
||||
struct Baked {
|
||||
std::map<QUuid, ImportedImage> images;
|
||||
std::optional<QString> failure;
|
||||
|
||||
Reference in new issue
Block a user