❔ Library for editing psd/gimp files w/o big installs

Looking to dynamically create posters/images based off of a psd/gimp template, where I can load the template, feed in some numbers to update text, and output a gif/jpg of the updated template. Anyone know a nuget that does this?
3 Replies
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Davitdon
Davitdon2w ago
GitHub
GitHub - daamdaam/GetPsdLayersRelease: Get PSD layers as PNGs using C#
Get PSD layers as PNGs using C#. Contribute to daamdaam/GetPsdLayersRelease development by creating an account on GitHub.
Davitdon
Davitdon2w ago
@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]); some of the layers may be null, so you may want to skip those ones layer.Width layer.Height But these parameters don't help find find out where to offset the images If you can help me find out how to offset the image. I'd appreciate that!
Want results from more Discord servers?
Add your server