Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Split image in PHP

Name: Anonymous 2007-05-04 17:10 ID:ZIOqURNs

lol php.

anyway gd's imagecopy() takes days splitting a 10000x10000pixels image into 100x100px slices. How do I get more speed?

Name: Anonymous 2007-05-04 17:47 ID:50IP7SXm

By not trying to split such fucking huge images

Name: Anonymous 2007-05-04 17:48 ID:Heaven

wow, you managed to make a thread so gay even the "NO EXCEPTIONS" spammer won't reply to it! good job!

Name: Anonymous 2007-05-05 9:04 ID:/3V6xBcr

.... wtf?
the only way you're going to split a 10000x10000 px faster with GD is installing a shit load of ram. you can try imagemagik, but seriously... you should consider a different solution.

Name: Anonymous 2007-05-05 9:22 ID:DtjznLrh

Convert it to a bitmap format using GD, then write your own splitting routines on the resulting flat file that don't read the entire thing into memory.

i.e. (initial format of large image) -> large BMP ----> BMP tiles -> (final file format of tiles)

Name: Anonymous 2007-05-05 9:53 ID:prSIy/Xg

>>5
??in php??

Name: Anonymous 2007-05-05 10:21 ID:EydeSyZ4

>>6
No, in Haskell.

Name: Anonymous 2007-05-05 16:50 ID:MUXOp28b

The ram usage is fine, it's the CPU-time it takes that is the problem.

Name: Anonymous 2007-05-05 21:46 ID:DtjznLrh

>>8

Don't be silly

Name: Anonymous 2007-05-06 0:00 ID:j5QBQC2A

>>9

Judging by post #1, this person is quite silly.

Name: Anonymous 2009-01-14 12:33

LISP

Name: Anonymous 2009-03-06 10:26

The height and thus   YOU HAVE A   set of keys   that you can   do this stuff   in a day   where we no   longer program but   I can FUCKING   well visit it   but it saves   me a lot   of languages and   not nationalize to.

Name: Anonymous 2010-12-25 6:07

Name: Sgt.Kabu브kiman׭匌 2012-05-29 1:13

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List