raymond_feliciano Posted December 5, 2011 Share Posted December 5, 2011 I need a little help. I am trying to convert images taken from an upload form and convert them to jpg and then upload it to my directory. I tried GD but I cant figure out how to upload the converted file. I also tried using ffmpeg to convert the file but I am only able to do it with videos, I cant find the parameters for image to image conversion. Any input would be appreciated. Thanks Link to comment https://forums.phpfreaks.com/topic/252527-image-conversion-with-gd/ Share on other sites More sharing options...
ialsoagree Posted December 5, 2011 Share Posted December 5, 2011 I'm not all that familiar with GD, but this might help you: http://stackoverflow.com/questions/22259/how-do-i-resize-and-convert-an-uploaded-image-to-a-png-using-gd Note they're converting to a png, but you should be able to accomplish the same thing by using imagejpeg instead of imagepng under "output to a temp file". Link to comment https://forums.phpfreaks.com/topic/252527-image-conversion-with-gd/#findComment-1294714 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.