English 中文(简体)
looking for java library to work with PSD format [closed]
原标题:

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 8 years ago.

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 the OpenRaster format is a pretty good alternative : http://en.wikipedia.org/wiki/OpenRaster It has open specs and it s really simple. It s a zipped file containing layers as png and a descriptor file. Gimp handles this format quite well and it s easy to export a psd file to an ora file. You can find some Java tools to manipulate them. It s a part of a more vast project which is still in Alpha : https://code.google.com/p/mediaz/

Hope it ll help people.

I m late to the party, just want to mention that I ve written an ImageIO plugin for the PSD format available at GitHub.

As the other libraries mentioned, it is read-only and does not support text or effect layers, but does read rasterized layers and composite image through the standard javax.imageio API, which may be of use for many.

The plugin will read any known versions of the PSD format, including the "Large file format" (aka PSB).

there is a project called java-psd-libraray for parsing PSD files in Java.

URL: http://code.google.com/p/java-psd-library/

This library is not familiar with creating PSD files it is reader only. There is not possible read effect from PSD with this, but there is extension on github. I don t know how good it is beacuse effects are changed with every version of PSD file.

Anyway this is the best libraray for reading PSD files written in Java.





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签