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,20 @@
|
||||
#pragma once
|
||||
#include "IO/PSD/PSDTypes.h"
|
||||
#include <QByteArray>
|
||||
#include <QString>
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
// Photoshop `.psd` from Adobe's 2019 specification; no GPL code.
|
||||
namespace PSDReader {
|
||||
bool matches(const QString &path);
|
||||
bool matches(const QByteArray &data);
|
||||
PSDDocument read(const QString &path, qint64 remainingPixels = 100'000'000);
|
||||
PSDDocument read(const QByteArray &data, qint64 remainingPixels = 100'000'000);
|
||||
extern const std::set<QString> adjustmentKeys;
|
||||
}
|
||||
|
||||
// Levels, Curves and Hue/Saturation layers, as Swift reads them.
|
||||
namespace PSDAdjustments {
|
||||
std::optional<LayerAdjustment> parse(const std::map<QString, QByteArray> &extra);
|
||||
}
|
||||
Reference in new issue
Block a user