09-25-2010, 02:17 AM
|
#2 (permalink)
|
|
The Visitor
Join Date: Sep 2010
Posts: 4
Thanks: 0
|
figured out the problem myself...
sorry for spamming the forum
seems that imagecreatefromjpeg is memory eater and on truecolor scale for evry pixel it uses 4 bytes
so
1 R 1 G
1 B 1 Transparant (something like this anyways)
so if my image was to be 2000px x 2000px than i get something like this
2000 x 2000 x 4 = 16.000.000bytes
so i changed my initset value to init_set('memory_limit', 200 000 000) and everything works fine :/
so if anyone knows a trick on this i'm more then glad to hear it
|
|
|
|