Fun Photoshop File Format Facts
posts.postlight.com
posts.postlight.com
True fun facts are, that Adobe specification http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/ is very incomplete and that Adobe is not going to make some data open https://forums.adobe.com/thread/1524517 .
You can ask me questions, if you want :)
lots of .. surprises.
I need to a super simple task of replacing the image in a Smart Object without having to go through the entire UI thing. Any idea if such a thing is possible?
Do you need to edit your own PSDs, or you want it to be done automatically in your app?
I want to show various screens on the same template. Currently, I take the screenshot and replace the images one by one.
Ideally, I would like to issue a command from my terminal to use the screenshots (which I generate from another tool) in a folder and pop them into the smartobject and export the output to an output folder.
If you have a Smart Object, which occurs multiple times in your PSD, you can double-click it, put all your screenshots inside it and save it. Then you can simply switch the visibility of layers inside a smart object.
Using Photopea would require running it in a browser window, it would be hard to connect it with your terminal.
I am told this is much of the reason that Lightroom was born. It was an effort to make a photographers tool that wasn't crushed under the weight of its own legacy code.
(As of CS 5.5)
1. Photoshop does antialiasing/subpixel rendering on vector shapes, so while "a little bit thicker" is of course 2px, the second row of pixels is blended with what's nearby.
2. Haven't tried GIMP for a couple years though. Also I've switched to Krita for digital painting lately, and actually like it more than PS.
Reading that flattened image from PSD takes 20 lines of code, while reading the structured content and producing final composition (blend modes, layer styles, masks, adjustment layers ...) takes at least 20 000 lines of code.
Row length encoding is used for storing channel data by default, so area with a constant color can be compressed much more efficiently, than area which has more "noisy" content.
Instead of a white top-layer you could also disable the "Maximize compatibility" option when saving the PSD, which will strip out this full size rendition.
I do know that Maximize Compatibility doesn't affect usage within Illustrator and InDesign documents, though, which to me are the more common use cases for a PSD anyway, so I'll probably stick to unticking that box.
Let's take a stand for free speech! Ill, unadvised speech is still speech!