#pragma once #include "IO/PSD/PSDTypes.h" #include struct PSDImport { int width; int height; double resolution; std::vector layers; std::vector 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 assets(const PSDDocument &document); PSDImport makeImport(const PSDDocument &document, const std::map &assets = {}); }