image_lib problems jpgs with embedded color profile - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: image_lib problems jpgs with embedded color profile (/showthread.php?tid=14953) |
image_lib problems jpgs with embedded color profile - El Forum - 01-21-2009 [eluser]wascko[/eluser] Hi, I am having some trouble using a plugin i wrote using the image_lib. Somehow it freezes when trying to resize jpgs with an embedded color profile. I tried my own old script with these jpgs and it freezes too, so i guess its a GD2 problem. does anyone know how i can avoid this ? maybe by checking if the image has an embedded profile and if so, not executing the script ? Is there a way to check this ? thanxs in advance wascko image_lib problems jpgs with embedded color profile - El Forum - 01-21-2009 [eluser]wascko[/eluser] after some more testing i notice the color profile is not the cause of problems but the size of the image. seems like GD2 can't manage large jpgs ...sigh... i am trying to increase my php memory limit and will be back if i find an answer (just in case someone else has a similar problem..) wascko |