PDA

View Full Version : Graphics32 or other lib, How to import PSD files with Delphi?



ironquark
06-03-2011, 10:41 PM
Hi

I'm creating a editor here to choose x,y position of a sprite and save in a external file...

How to load .psd files with Delphi?

I'm thinking here maybe graphics32 can help...

Regards!

Mirage
07-03-2011, 07:26 PM
You can use Vampyre Imaging.
http://imaginglib.sourceforge.net/

ironquark
07-03-2011, 08:58 PM
You can use Vampyre Imaging.
http://imaginglib.sourceforge.net/

Thanks, but I need to know how to work using layers with this lib :)

wagenheimer
07-03-2011, 09:21 PM
I recommend ImageEn components to Open PSD Files! http://www.vclcomponents.com/Delphi/Image_Processing/ImageEn-info.html

I do use it to create my scenes in Photoshop, and I have made a PSD importer that save all layers in separate images, and export a xml with all the layers positions from Photoshop! Very usefully! =)

ironquark
07-03-2011, 11:46 PM
About Vampyre thanks but I will stay with ImageEN from Wangenheimer!!!

Its working fine! Using the sample almost the code is donne... now i just need select PosX and PosY ;)

ironquark
08-03-2011, 02:17 PM
I recommend ImageEn components to Open PSD Files! http://www.vclcomponents.com/Delphi/Image_Processing/ImageEn-info.html

I do use it to create my scenes in Photoshop, and I have made a PSD importer that save all layers in separate images, and export a xml with all the layers positions from Photoshop! Very usefully! =)

100%!!! Thanks!