Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4521532
By: wikisky

I'm trying to cut a large jpeg image on tiles, but getting "out of memory" 
exception.
I tried -maxmemory option in different variations, it didn't help. I'm using
jpegtran for some time, it can handle pretty large images (more than 10,000
x 10,000 pixels), but I'm stuck with 29,000 x 14,000 pixels image.
Here's the log I'm getting with -debug option:
--------------------------------------------------------------------------------
-------------------------
C:\TEMP>c:\temp\jpegtran.exe -v -maxmemory 500M -crop 512x512+12800+8704
/temp/persist/images/000904.jpg /temp/test_out.jpg
Independent JPEG Group's JPEGTRAN, version 6b  27-Mar-1998
Copyright (C) 1998, Thomas G. Lane
Start of Image
JFIF APP0 marker: version 1.02, density 270x270  1
Miscellaneous marker 0xe1, length 5059
Miscellaneous marker 0xed, length 6904
Miscellaneous marker 0xe1, length 16834
Miscellaneous marker 0xe2, length 574
Adobe APP14 marker: version 100, flags 0x4000 0x0000, transform 1
Define Quantization Table 0  precision 0
Define Quantization Table 1  precision 0
Start Of Frame 0xc0: width=29566, height=14321, components=3
    Component 1: 1hx1v q=0
    Component 2: 1hx1v q=1
    Component 3: 1hx1v q=1
Define Restart Interval 3696
Define Huffman Table 0x00
Define Huffman Table 0x01
Define Huffman Table 0x10
Define Huffman Table 0x11
Start Of Scan: 3 components
    Component 1: dc=0 ac=0
    Component 2: dc=1 ac=1
    Component 3: dc=1 ac=1
  Ss=0, Se=63, Ah=0, Al=0
Insufficient memory (case 4)

C:\TEMP>
--------------------------------------------------------------------------------
-------------------------

The log produced with different from GnuWin32 build, but messages and result
is the same. I just didn't know how to create log file out of window error 
messages
popping out from GnuWin32's version.

Thanks

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=74807

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users

Reply via email to