size limitations proplem

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ncc1701d

size limitations proplem

Post by ncc1701d »

hi,
I recently tryed to append 6 images next to teach other.
However I got this error and no success.
it said
"Convert: Maximum supported image dimension is 65500 pixels"
it is true that..
Iam trying to append images side by side to create a supper wide pic which is over 65500 wide. This final image will never be opened in photoshop or imagemagic or any paint program. (another process i would use rechops/sorts it in a special unique way before anything viewed in a paint program thats why i dont care.)
Can this program or any program out there append images to make this super large image?
I was hoping that only my swapdrive space and ram are my only limits to what i can do not the software limits.
Any ideas? is Imagemagick my answer or something else?
thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: size limitations proplem

Post by fmw42 »

I will leave a final answer to the IM folks.

Just wondering if this is a Q16 IM build issue? If so, wondering if Q32 IM build might help?????

Of course memory could be the issue, but you may have ruled that out.
ncc1701d

Re: size limitations proplem

Post by ncc1701d »

I belive I am using the 16 version of IM...not sure what the q represents but it is the 16 version I am using.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: size limitations proplem

Post by anthony »

You are hiting the IM built in memory limits! Look at -limit program control option.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
ncc1701d

Re: size limitations proplem

Post by ncc1701d »

I have on my hard drive 100gb available space.

when i type: convert -list resource
it says

File: 1536
Area: 2.99704 gb
Memory: 2.24778 gb
Map: 5.99408 gb
disk: 16eb

Does it look like I have room to play with?
I think i would but i dont understand how "file" comes into play into figuring what to change.

I was thinking of modifying my config.xml using MAGICK_MEMORY_LIMIT and MAGICK_MAP_LIMIT. but they dont show example of how to type it in.
They only show this small example below which doesnt apply to my situation.

<configure name="MAGICK_TEMPORARY_PATH" value="/data/tmp"/>

links of interest
http://imagemagick.org/script/resources.php#disk-limit
http://imagemagick.org/source/configure.xml
Thanks for any help anybody on how to change my configure.xml to help my situation.
steve
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: size limitations proplem

Post by magick »

Try this:
  • <configure name="MAGICK_MEMORY_LIMIT" value="32MB"/>
    <configure name="MAGICK_MAP_LIMIT" value="64MB"/>
Note this only works in ImageMagick 6.4.1-5 and above.

The file limit is the maximum file descriptors that can be opened simultaneously. This applies when converting huge image sequences of thousands of frames.
Post Reply