photoshop

looking for java library to work with PSD format [closed]

夙愿已清 提交于 2019-12-04 04:47:19
I'm looking for a java library to work with PSD format(Photoshop). Any ideas? Probably very late, but as this page is pretty high ranked on google when searching "java psd library" I'll share my experience. -As Boris said the java-psd-library is read only. It has trouble reading recent CS4 format. If you ever find yourself with an error opening a psd file, opening it in Gimp 2.8 and saving it again will probably fix the issue. -As I needed to work on layered graphic files, I took time to search for an alternative. The PSD format is proprietary and access to specs seems restricted. I found that

Resize batch images in PhotoShop

痞子三分冷 提交于 2019-12-04 04:25:19
问题 I am frequently presented with the task of resizing images (lots of them) to a square and then saving them with PhotoShop. For example, if an image is 400x200 then I would need to resize the canvas to be 400x400. Likewise, if an image is 321x850 then the canvas would be resized to 850x850 if, and if the image is 521x250 then the canvas would be resized to 521x521. Is there a way in PhotoShop to automate this tedious task? I know about PhotoShop automate, which records your actions, but that's

Understanding 24 bit PNG generated with Photoshop

江枫思渺然 提交于 2019-12-04 03:36:42
问题 A 24 bit .png file with transparency, as those that can be generated with Photoshop, has really 24 bits distributed across each color plus the alpha ? or the 24 bit refer only to the colors and ignores the alpha (RGBA 8888). Is there any tool to examine a PNG file and verify this kind of information? Does Photoshop have any options to verify or configure this? 回答1: 24 bit + alpha is actually 32 bits per pixel. Meaning you have the Red, Green, Blue and Alpha channels, each being 8 bit,

Does it make sense to use source control to manage graphics files (e.g. PSDs & AI files)

∥☆過路亽.° 提交于 2019-12-04 01:20:52
Of course source control tools like Git, (Mercurial, SVN, etc...) can do a great job at managing source code. But I wonder, do these tools provide the developer with any advantage when used to store copies of files such as PhotoShop PSDs and Illustrator AI files? Does it make sense to use these tools with these kind of files? Would I be storing less in the repository than the sum of the file sizes of all of these files? Even though the file format of these files is only machine readable, I would expect that in for such applications, especially when dealing with vector rather than raster

Get Photoshop's action list using Objective-C

北城余情 提交于 2019-12-03 21:43:18
I'm writing an application for OSX using C++ and Obj-C that interacts with Photoshop. I've been using NSAppleScript with dynamically built AppleScripts to drive Photoshop (yes, it's a little scary...) I would love to be able to drive Photoshop a different way, so if anyone knows a better way, I'm open to it! Unfortunately, I can't use ScriptingBridge as I can't tie my users to Leopard. The big problem came just the other night when I went to query the action list from Photoshop to display to my users. Apparently, Photoshop's scripting integration doesn't expose the action list APIs to

Color consistency between Photoshop, iPhone Simulator, and iPhone

陌路散爱 提交于 2019-12-03 21:38:52
I've been working a lot with Photoshop .psd files recently and have been bouncing back and forth a lot to ensure colors look just right on the iPhone. Can anyone offer some tips on calibrating macbook/apple cinema displays in regards to keeping color consistency between Photoshop, the iPhone simulator, and physical iPhones? Have a look on LiveView created by Nicholas Zambetti . You need to install it on your iPad/iPhone/iPod Touch and on your Mac. when synced (Mac and device) you can have a preview of the selected area of your screen (Mac), on your device. Hope this will help you out! Cheers,

Save layer to file and trim

ぃ、小莉子 提交于 2019-12-03 21:20:39
I'm trying to export layers as files, but the script in photoshop exports layers as pngs including all of the empty space. Is there another script that allows for trimming layers before exporting? Select "Trim Layers" before exporting your files. By default, Photoshop supports trimming when exporting to PNG format using the script. Optionally, if you want to export to JPEG, you can look into the script below. Export Layers to Files with trim jpeg support Use Photoshop Generator. Add ".png" to layer name. (For more than one layer use Layers Rename script https://dl.dropboxusercontent.com/u

Photoshop blending mode to OpenGL ES without shaders

旧城冷巷雨未停 提交于 2019-12-03 18:26:18
问题 I need to imitate Photoshop blending modes ("multiply", "screen" etc.) in my OpenGL ES 1.1 code ( without shaders). There are some docs on how to do this with HLSL: http://www.nathanm.com/photoshop-blending-math/ (archive) http://mouaif.wordpress.com/2009/01/05/photoshop-math-with-glsl-shaders/ I need at least working Screen mode. Are there any implementations on fixed pipeline I may look at? 回答1: Most photoshop blend-modes are based upon the Porter-Duff blendmodes. These requires that all

How to write text to a text file by Photoshop JavaScript?

旧巷老猫 提交于 2019-12-03 16:58:44
问题 I took a look at Photoshop CS5 Scripting Guide and Photoshop CS5 JavaScript Reference, but I couldn't find out a method to write text to a plain text file. Is there any way to do that? I want to record the value of bounds of each layer object in a document. Any hint? 回答1: File system access is documented in Adobe's JavaScript Tools Guide (PDF). Download the PDF file and check out the "File System Access" section. 回答2: This works for me, saves text with the same name as original document, but