Search found 17 matches

by matteosistisette
2012-12-07T12:04:02-07:00
Forum: Bugs
Topic: -size is SILENTLY ignored as an output option
Replies: 5
Views: 7738

Re: -size is SILENTLY ignored as an output option

I know (as I already mentioned) that -resize is the option I wanted to use in the command above.

The problem is that if you use an option that cannot be applied in the context where it is used, an error or warning should be issued.
by matteosistisette
2012-12-07T09:24:27-07:00
Forum: Bugs
Topic: -size is SILENTLY ignored as an output option
Replies: 5
Views: 7738

-size is SILENTLY ignored as an output option

convert inputfile.jpg -size 50x50 output.jpg Expected behavior I guess -size only makes sense as an input option. If so, then the above command should issue an error or a warning. Actually I think it would be even better to treat -size as a synonim of -resize when used as output option. Observed be...
by matteosistisette
2011-10-20T11:35:59-07:00
Forum: Bugs
Topic: no file is written untill all output images are complete
Replies: 2
Views: 17237

Re: no file is written untill all output images are complete

That is the way IM "convert" (and most other IM commands) are designed to work, And I think that is a serious design flaw (in the cases when it is not strictly needed). and is appropriate in most situations. I don't think it's ever "appropriate" to use N times as much memory as ...
by matteosistisette
2011-10-16T05:16:55-07:00
Forum: Bugs
Topic: needed memory should be computed in advance
Replies: 7
Views: 14944

Re: needed memory should be computed in advance

Oh I see: maybe it's ghostscript (or something) (called by imagemagick) that gets killed, right?
by matteosistisette
2011-10-16T05:15:14-07:00
Forum: Bugs
Topic: needed memory should be computed in advance
Replies: 7
Views: 14944

Re: needed memory should be computed in advance

Then maybe the issue I'm observing is a different one? Because in this case it doesn't look like imagemagick gets kiled at all. It terminates with a lot of error messages. In one case I did observed it being killed and it only said "killed" without any error message at all. But here what I...
by matteosistisette
2011-10-15T17:46:24-07:00
Forum: Bugs
Topic: needed memory should be computed in advance
Replies: 7
Views: 14944

Re: needed memory should be computed in advance

This has nothing to do with killing. I m not talking about imagemagick getting killed. ThT was another post. This is not related. The question here is why allocating memory piece by piece if the total amount needed is known in advance and the task cannot be completed unless all the memory can be all...
by matteosistisette
2011-10-15T15:59:26-07:00
Forum: Bugs
Topic: needed memory should be computed in advance
Replies: 7
Views: 14944

Re: needed memory should be computed in advance

But then, instead of "asking" for available memory and later take it (when in the meantime it has become unavailable), can't you just "take" it from the beginning?
by matteosistisette
2011-10-15T14:20:18-07:00
Forum: Bugs
Topic: bogus nonsense error messages when processing big images
Replies: 4
Views: 10029

Re: bogus nonsense error messages when processing big images

I mean, regarding the first part of my original post (the bogus error messages).
by matteosistisette
2011-10-15T14:19:05-07:00
Forum: Bugs
Topic: bogus nonsense error messages when processing big images
Replies: 4
Views: 10029

Re: bogus nonsense error messages when processing big images

No, I'm not talking about the "killed" error message here. I get strange error messages that are clearly generated by ImageMagick, not the OS.

Even if the failure to allocate is due to the OS, ImageMagick should output a meaningful error message.
by matteosistisette
2011-10-15T14:15:27-07:00
Forum: Bugs
Topic: "killed" error message
Replies: 2
Views: 11517

Re: "killed" error message

Oh I see!!!! Thanks a lot
by matteosistisette
2011-10-15T13:12:14-07:00
Forum: Bugs
Topic: bogus nonsense error messages when processing big images
Replies: 4
Views: 10029

bogus nonsense error messages when processing big images

When I try to process huge images, I often get a variety of apparently nonsense error messages. I guess the problem is just that I don't have enough memory (since identical operations on smaller images succeed), so some memory allocation fails causing subsequent errors. Such errors should be detecte...
by matteosistisette
2011-10-15T13:06:37-07:00
Forum: Bugs
Topic: needed memory should be computed in advance
Replies: 7
Views: 14944

needed memory should be computed in advance

Consider this command: imagemagick -crop 128x128 srcimage.png dstimage.png I ran this with a big source image (about 14,000x12,000 pixels) and it ran for about 20 minutes before failing. There's no unpredictable factor affecting the memory needed to perform such an operation; the amount of memory ne...
by matteosistisette
2011-10-15T12:58:38-07:00
Forum: Bugs
Topic: "killed" error message
Replies: 2
Views: 11517

"killed" error message

I was cropping a huge image into small pieces with: convert -crop 128x128 sourceimage.png outputimage.png After 20 minutes of processing, it ended up with the error message "Killed" (not a word more than that), and no file was output. "Killed" is not an acceptable error message. ...
by matteosistisette
2011-10-15T12:54:33-07:00
Forum: Bugs
Topic: no file is written untill all output images are complete
Replies: 2
Views: 17237

no file is written untill all output images are complete

When you use -crop WxH (without offsets) to produce a sequence of "tiles" form a big image, ImageMagick accumulates all the output images into memory and doesn't start writing the first file unill the last output image is complete. This has 2 huge drawbacks: (1) it wastes an enormous amoun...
by matteosistisette
2011-10-11T10:17:10-07:00
Forum: Users
Topic: tile crop of pdf seems to rasterize whole image before crop?
Replies: 2
Views: 6623

Re: tile crop of pdf seems to rasterize whole image before c

Well, yes, definitely, that's how it works. And yes, very sadly, even cropping out a single piece will require processing the whole pdf. Even repaging to a virtual canvas of the same size of the crop doesn't do the trick. Is there a way at all to render a small region of a vector image with high den...