Page 1 of 1
tif, psd, etc. converted to jpg or png with php?
Posted: Thu Jun 01, 2006 1:34 pm
by Luke
Is php capable of taking a tiff or psd (or other file format which is not able to be displayed on the internet) and convert it to jpg or gif or png or something so that it can be previewed on the web? If so, how is it done?
Posted: Thu Jun 01, 2006 1:44 pm
by MrPotatoes
i wouldn't doubt tiff but PSD's are binary files with multiple layers and histories that come with them. you'd actually have to hex the code in order to do it. and then to do it on runtime it would kill your bandwidth.
but if it's to show your coding skillzorz then do it. i wanna see it.
now, that's just what i think. i'm not completely sure ttytt

Posted: Thu Jun 01, 2006 1:51 pm
by pickle
I don't think GD can, but ImageMagick probably can.
Posted: Thu Jun 01, 2006 2:01 pm
by Christopher
Yes ImageMagick can.
Posted: Thu Jun 01, 2006 3:05 pm
by Luke
sounds interesting... thanks I will look into it.