Search found 10663 matches

by magick
2017-09-19T04:04:23-07:00
Forum: Bugs
Topic: Heap buffer overflow in GetNextToken()
Replies: 1
Views: 34

Re: Heap buffer overflow in GetNextToken()

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.
by magick
2017-09-17T05:22:52-07:00
Forum: Bugs
Topic: Possible bug -poly
Replies: 10
Views: 545

Re: Possible bug -poly

IMv7 is channel aware. Since checks.jpg is grayscale, which is one channel on IMv7 (3 in IMv6), it only contributes to the red channel of the evaluation. A fix is to ensure all images are in the same colorspace which assures the same number of channels: magick checks.jpg lena2.jpg zelda3.jpg -colors...
by magick
2017-09-16T06:01:33-07:00
Forum: Bugs
Topic: Possible bug -layers optimize
Replies: 4
Views: 148

Re: Possible bug -layers optimize

Try this command, and be patient. Its pushing pixels to disk so its quite slow:

Code: Select all

convert -define registry:temporary-path=./ -limit memory 16mb image.png null: \( input.gif -coalesce \) -gravity Center -layers composite -layers optimize des.gif
by magick
2017-09-15T16:48:02-07:00
Forum: Developers
Topic: Enhancement Request for Compare
Replies: 2
Views: 121

Re: Enhancement Request for Compare

Look for a patch by sometime tomorrow.
by magick
2017-09-14T16:28:23-07:00
Forum: Bugs
Topic: Null pointer dereference in GetJPEGMethod()
Replies: 1
Views: 68

Re: Null pointer dereference in GetJPEGMethod()

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://www.imagemagick.org/download/beta/ by sometime tomorrow.
by magick
2017-09-14T07:14:20-07:00
Forum: Users
Topic: Commercial Purpose free of Charge ?
Replies: 5
Views: 5267

Re: Commercial Purpose free of Charge ?

You likely have a web page somewhere that points to your cloud service. Mentioning ImageMagick somewhere on your web pages should be sufficient to comply with the license.
by magick
2017-09-14T01:50:16-07:00
Forum: Bugs
Topic: Reading animated gif -> 'invalid colormap index' error in version 7
Replies: 6
Views: 910

Re: Reading animated gif -> 'invalid colormap index' error in version 7

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.
by magick
2017-09-13T06:26:16-07:00
Forum: Bugs
Topic: Possible bug/limitation of fx string formats
Replies: 2
Views: 134

Re: Possible bug/limitation of fx string formats

Fixed the precision problem. And here is the command you want to use to get expected results: magick gradient_u.tif gradient_v.tif -fx 'u/v' -precision 15 -format "minima=%[fx:minima]\n maxima=%[fx:maxima]\n mean=%[fx:mean] \n" info: Max() and min() are functions, see https://www.imagemagick.org/scr...
by magick
2017-09-12T17:04:47-07:00
Forum: Users
Topic: floating-point, pixel-wise image division
Replies: 15
Views: 303

Re: floating-point, pixel-wise image division

Use the default quantum (Q16) and just add --enable-hdri. Since the pixels are floating point, this configure command-line option is sufficient. Also, quantum 64 has never been officially blessed. It may work but we have not certified it yet.
by magick
2017-09-12T11:08:36-07:00
Forum: Bugs
Topic: documentation bugs: color-management.php says IM treats all gray images as linear
Replies: 7
Views: 230

Re: documentation bugs: color-management.php says IM treats all gray images as linear

Most image processing algorithms require a linear colorspace for optimal results. Only when an image is displayed to a monitor or printer does it make sense to utilize gamma. So the ideal workflow would be to store your image in a linear colorspace, apply your image processing options, and only on d...
by magick
2017-09-12T09:58:41-07:00
Forum: Bugs
Topic: documentation bugs: color-management.php says IM treats all gray images as linear
Replies: 7
Views: 230

Re: documentation bugs: color-management.php says IM treats all gray images as linear

Use -intensity Rec709Luminance to return linear grayscale, e.g. convert rose: -intensity Rec709Luminance -colorspace gray image.pgm. Internally grayscale can be linear or non-linear. However, as mentioned, pushing the pixels to an image format is problematic since most formats do not have sufficient...
by magick
2017-09-12T08:40:04-07:00
Forum: Bugs
Topic: documentation bugs: color-management.php says IM treats all gray images as linear
Replies: 7
Views: 230

Re: documentation bugs: color-management.php says IM treats all gray images as linear

The documentation is right. Gray is assumed linear. Likely a bug. We are investigating a fix to the problem and documentation now.
by magick
2017-09-12T04:03:34-07:00
Forum: Bugs
Topic: Possible bug -poly
Replies: 10
Views: 545

Re: Possible bug -poly

Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ http://www.imagemagick.org/download/beta/ by sometime tomorrow.
by magick
2017-09-10T19:40:26-07:00
Forum: Bugs
Topic: Result of -grayscale (or -colorspace gray) with a linear intensity becomes DARK if saved as JPEG (at least)
Replies: 5
Views: 785

Re: Result of -grayscale (or -colorspace gray) with a linear intensity becomes DARK if saved as JPEG (at least)

JPEG is color blind. Converting to a non-linear colorspace could be an unexpected transformation for our users whom might expect their linear image to remain linear when they write to a JPEG image. We instead take the raw pixel values and just pass them to the JPEG compressor.
by magick
2017-09-10T15:02:27-07:00
Forum: Bugs
Topic: Result of -grayscale (or -colorspace gray) with a linear intensity becomes DARK if saved as JPEG (at least)
Replies: 5
Views: 785

Re: Result of -grayscale (or -colorspace gray) with a linear intensity becomes DARK if saved as JPEG (at least)

The linearity of the colorspace is problematic with most image formats because there is no associated metadata to distinguish the linear from non-linear colorspace. Our guidance is that lacking evidence otherwise, we assume a nonlinear colorspace unless the colorspace is RGB, XYZ, or xyY. For graysc...