PSD format of Adobe® Photoshop® is a format of designers for designing business cards, logo designs, flyer mock-ups, website designs and much more. It’s a common case for designers to export PSD layers to single image including JPG, PNG, GIF, TIFF etc. via Adobe Photoshop. For photoshop PSD conversion to raster images and PDF within any Java solution, Java PSD API can do it with ease. For any PSD conversion automation application, below example codes can easily be integrated for raster images and PDF conversion.
To convert Photoshop PSD to PDF, Process is, Load the Photoshop PSD file using Image class . Create PdfOptions class object, for relevant PDF settings. Finally call Image.save method having output PDF document and specific setting options.
</div>
</div>
</div>
</div>
Java PSD API provides a similar pattern for conversion. So pattern of converting into raster images JPG, BMP, PNG, GIF, TIFF is same as of PDF rather than specific image settings. API provides PngOptions , JpegOptions , BmpOptions , GifOptions , Jpeg2000Options for PNG, JPG, BMP, GIF, JP2 respectively. So process is load the file, use the relevant image options and save the PSD into image of choice.
</div>
</div>
</div>
</div>