Welcome Guest, Not a member yet? Register   Sign In
image_lib problems jpgs with embedded color profile
#1

[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
#2

[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




Theme © iAndrew 2016 - Forum software by © MyBB