In these series of ‘How to’ articles I will be focusing how we can read PSD images in Java.
What is PSD?
PSD (Photoshop Document) is a format used by the popular Adobe Photoshop. The software which has its own format is used by many people for graphic designing and image editing. It uses the extension ‘.psd’.
A PSD file contains multiple objects including images, shapes, text, filters and other objects often used in graphic designing/editing. This allows photoshop users to save, transfer and make further changes to their work in the future.
JDeli is one of a few libraries that can read PSD files.
How to read PSD images in Java?
Below you will find an example of how to read PSD files using Java through JDeli.
PsdDecoder decoder = new PsdDecoder(); BufferedImage image = decoder.read(rawImageBytes);
You can find more tutorials in our series on handling common image formats in Java, JDeli and other image libraries.
Latest posts by Zain (see all)
- Key takeaways from NetBeans Day UK 2017 - April 26, 2017
- Why IDRsolutions uses the NetBeans IDE for Java Development - April 18, 2017
- 5 Reasons to Attend NetBeans Day UK 2017 - April 6, 2017
- How to read BMP images in Java - March 28, 2017
- How to read SGI images in Java - March 14, 2017