-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PSD to PNG output is inverted and... very strange #37
Comments
I think this is a bug with the CMYK processing in PSD.rb. I'm checking it out. |
Yep, the CMYK channels were being read in the wrong order. The alpha channel comes last, not first. Pushing a fix. |
Shocking turnaround time. Nice work! Thanks for pushing the fix, i'm building a second phase of this project out and will take this for a spin. |
Trying to push the new version to Rubygems but it's down at the moment. Also updating psd_native to reflect this fix. |
Okay, psd-1.3.2 and psd_native-0.3.1 should both be on Rubygems now. Update your bundle and it should fix your problems. |
Hello,
I was sharing some frustration on twitter the other night while trying to do some image processing stuff for a project. @meltingice replied to my tweet and suggested that I open an issue here. I'd love to help you guys improve the project as this is a really amazing project and if it worked in my particular case I would have saved a ton of time and also been able to build a bit more advanced solution.
My Workflow
I was trying to open a PSD and then export a high-resolution PNG. Equivalent to opening the PSD in the Photoshop application, Save As PNG, and close the file. Nothing too crazy.
I tested this bug with a handful of files from this page and all of them seem to produce the same result. The specific image I will reference for this issue is ARBESKO_695.psd – Link to file
PSD as viewed in Photoshop CC
Output from PSD.rb
Here is my IRB Session
I'm not really sure how this is happening. I've tried to pull that inverted png into Photoshop to "reverse engineer" it back into the original but can't seem to get that to happen. It looks like there are some missing channels or something?
My Environment
I'm running OS X 10.9 (hopefully this isn't the main reason). I'm also using
ruby 2.0.0p195
installed viarbenv
. Let me know if anything else from my env would be helpful.The text was updated successfully, but these errors were encountered: