PhotoshopAPI
PhotoshopAPI copied to clipboard
A modern and performant C++20 read/write parser of Photoshop Files (*.psd and *.psb) with fully fledged Python bindings hosted on PyPi
Currently if a layer cannot be found it actually throws an error but instead it should just return a `nullptr`. That way users can check `if (auto lr = findLayerAs("path"))`
In order to get the PhotoshopAPI closer to being production ready we should always compile it with /Wall and /fsanitize=address (This is the only sanitizer currently supported out of the...
I'm using Python 3.10, cmake 3.29.1 and ninja 1.11.1. I usually try first with my own versions to avoid env balkanization. With meson 1.3.0: ``` running build_ext Traceback (most recent...
This information seems to be stored on the 'lspf' tagged block on bit 8 as well as perhaps on the 'flags' of the layer record but this difference might be...
From the benchmarks presented here https://github.com/zlib-ng/zlib-ng/issues/1486 it appears that even for larger buffers libdeflate outperforms zlib-ng on both compression ratios as well as speed. It does provide a different api...
This appears to be due to the way we calculate the amount of channels in a file when going from `LayeredFile` -> `PhotoshopFile`. It doesnt detect any channels and therefore...
This appears to only fail on compilation of our AVX2 intrinsics which we can simply opt out of if we detect arm based machines and in the future we can...
Greyscale is currently only partially supported but shouldnt be far off from actually fully working within the PhotoshopAPI. Testing this is required and ironing out any kinks + raising warnings...
CMYK is currently only partially supported but shouldnt be far off from actually fully working within the PhotoshopAPI. Testing this is required and ironing out any kinks + raising warnings...
This is a rather big issue as Photoshop has a wide range of adjustment layers, all with their different implementations and different levels of completeness in the official documentation. This...