chinedufn / psd

A Rust API for parsing and working with PSD files.
https://chinedufn.github.io/psd
Apache License 2.0
270 stars 41 forks source link

Ability to save PSD's #61

Open mexicantexan opened 3 months ago

mexicantexan commented 3 months ago

I'm happy to take this up! Just point me in the right direction.

Right now the psd crate only supports deserializing a PSD from bytes. It does not currently support writing PSD bytes to a file. I'd be happy to help guide anyone that is interested in contributing support for this.

Originally posted by @chinedufn in https://github.com/chinedufn/psd/issues/51#issuecomment-1850061709

chinedufn commented 2 months ago

I would recommend starting with:

We want to be able to round-trip PSDs such that if we write a PSD, then read it, it equals the exact same in memory Rust PSD that we wrote. So, our test suite should test that.


In short, step 1 here is just getting some tests written for simple cases.

Then from there we can continue to test more and more cases.

Please feel free to continue asking questions.