Issue
How to turn a jp2 image to a jpg image in php using the gd library.
Thanks
Solution
You can't. GD2
doesn't support JP2 (JPG 2000) format.
You will have to use Imagick
library.
I had 1.4million image files in jp2 format, and I used IrfanView batch function. It event let me re-cosntruct the directory structure, which consisted of three levels, like [0-f]/[0-f]/[0=f]/image.jpg
Answered By - Mārtiņš Briedis Answer Checked By - Senaida (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.