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
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#include "IO/PSD/PSDTypes.h"
|
||||
#include <map>
|
||||
|
||||
struct PSDImport {
|
||||
int width;
|
||||
int height;
|
||||
double resolution;
|
||||
std::vector<ImageLayer> layers;
|
||||
std::vector<PSDConversion> conversions;
|
||||
};
|
||||
|
||||
// A read Photoshop file as layers, with its conversions.
|
||||
namespace PSDDocumentBuilder {
|
||||
// Each pixel record's asset and thumbnail, off the UI thread.
|
||||
std::map<QUuid, ImportedImage> assets(const PSDDocument &document);
|
||||
PSDImport makeImport(const PSDDocument &document, const std::map<QUuid, ImportedImage> &assets = {});
|
||||
}
|
||||
Reference in new issue
Block a user