Davitdon
❔ Library for editing psd/gimp files w/o big installs
@OMegaliterosMalakas
I can use this to make multiple pngs, from layers. Currently I'm trying to read the source code and see if theres a way I can offset the images, into their correct positions
csproj
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
</ItemGroup>
2 of the functions may require that
using PhotoshopFiles;
using System.Drawing; //for images
using System.Reflection; //Debugging tool
PhotoshopFiles.PsdFile psd = new PhotoshopFiles.PsdFile();
psd.Layers[x]
for (int j = 0; j < psd.Layers.Count; j++)
{
System.Drawing.Image layer = ImageDecoder.DecodeImage(psd.Layers[j]);
6 replies