Search found 24025 matches

by fmw42
2018-11-19T20:22:07-07:00
Forum: Users
Topic: mitigating CVE-2018–16323
Replies: 2
Views: 95

Re: mitigating CVE-2018–16323

This was apparently fixed last July according to the changelog: 2018-07-24 7.0.8-9 Cristy <quetzlzacatenango@image...> XBM coder leaves the hex image data uninitialized if hex value of the pixel is negative. and 2018-07-24 6.9.10-9 Cristy <quetzlzacatenango@image...> XBM coder leaves the hex image d...
by fmw42
2018-11-19T14:25:06-07:00
Forum: Users
Topic: Extremely slow TIFF conversion (Ubuntu)
Replies: 4
Views: 93

Re: Extremely slow TIFF conversion (Ubuntu)

how do I verify that OpenMP is "off"?
You can also just limit the threads to 1.

Code: Select all

MAGICK_THREAD_LIMIT=1 convert ....
or

Code: Select all

convert -limit thread 1 ....
by fmw42
2018-11-19T14:19:33-07:00
Forum: Digital Image Processing
Topic: Native CLAHE support
Replies: 7
Views: 188

Re: Native CLAHE support

whugemann wrote:
2018-11-19T13:10:52-07:00
As I said, Karel Zuiderveld published the original C code, which is rather concise.

Is that code open source or restricted by some license?
by fmw42
2018-11-19T12:57:17-07:00
Forum: Digital Image Processing
Topic: 3 Implementations for Adaptive Gamma Correction
Replies: 18
Views: 759

Re: 3 Implementations for Adaptive Gamma Correction

That page says
bilinear
Like barycentric but for 4 points. Less than 4 points fall back to barycentric.
So if two points it would be the same as using barycentric.

The reason I asked was that I kept getting an error in number of argument for -sparse-color bilinear when I only had two points.
by fmw42
2018-11-19T12:42:27-07:00
Forum: Users
Topic: TiffWarnings/820
Replies: 11
Views: 219

Re: TiffWarnings/820

ImageMagick identify -verbose is only see the following in the properties section. So only the last part of your comment about Print Size is picked up. Note that the field "comment" is missing. Properties: Print Size=7.095M1VLab (7650 Bottom Mount) XR41B date:create: 2018-11-19T11:38:26-08:00 date:m...
by fmw42
2018-11-19T12:19:19-07:00
Forum: Digital Image Processing
Topic: 3 Implementations for Adaptive Gamma Correction
Replies: 18
Views: 759

Re: 3 Implementations for Adaptive Gamma Correction

%IM7DEV%magick ^ %SRC% ^ +write mpr:INP ^ -process 'mkhisto verbose' ^ -auto-level ^ -evaluate Pow %alpha% ^ -process 'cumulhisto norm verbose' ^ -negate ^ -evaluate Divide %%[fx:QuantumRange] ^ ( +clone ^ -sparse-color bilinear 0,0,Black,%%[fx:w-1],0,White ^ ) ^ -evaluate-sequence Pow ^ mpr:INP ^ ...
by fmw42
2018-11-19T11:42:07-07:00
Forum: Users
Topic: TiffWarnings/820
Replies: 11
Views: 219

Re: TiffWarnings/820

Post your image as suggested above so that we can inspect it.
by fmw42
2018-11-19T11:03:07-07:00
Forum: Digital Image Processing
Topic: Native CLAHE support
Replies: 7
Views: 188

Re: Native CLAHE support

IM contains code to do all the operations for CLAHE, except for creating histograms as images. If it had that code, then adding CLAHE would be easily done by gluing the pieces together. So is your mkhisto code the missing piece or something similar that should be added to imagemagick first. Enhance...
by fmw42
2018-11-19T10:41:24-07:00
Forum: Users
Topic: TiffWarnings/820
Replies: 11
Views: 219

Re: TiffWarnings/820

6 MB is ok. But this forum does not allow direct uploads. So post your image to some free hosting service that will not modify your image such as dropbox.com and put the URL here. What do you get from: convert image.tif -quiet -format "%c" info: That should read the comment field only without showin...
by fmw42
2018-11-19T10:29:34-07:00
Forum: Digital Image Processing
Topic: Native CLAHE support
Replies: 7
Views: 188

Re: Native CLAHE support

It was no my list of enhancements to recommend when the developers have time. But their time is rather limited these days to bug fixes.

You can post this to the developers forum to put it on their list of features for the future. Or someone can contribute compatible code.
by fmw42
2018-11-19T10:26:22-07:00
Forum: Digital Image Processing
Topic: 3 Implementations for Adaptive Gamma Correction
Replies: 18
Views: 759

Re: 3 Implementations for Adaptive Gamma Correction

Your evaluate pow is the same as -auto-gamma except you use 0.3 and auto-gamma is limited to 0.5. It was my intention that -auto-gamma be modified to have a -define to allow that value (0.5) to be modified. My autogamma script is like your use of evaluate pow. It allows the value to be set as desired.
by fmw42
2018-11-18T20:16:02-07:00
Forum: Digital Image Processing
Topic: 3 Implementations for Adaptive Gamma Correction
Replies: 18
Views: 759

Re: 3 Implementations for Adaptive Gamma Correction

That is pretty much the same as -auto-level -auto-gamma, but where 0.3 is replaced by 0.5. I tried to get Anthony to include an argument or define for the desired value (0.5), but he did not want to do it. But I have it on my enhancement list to recommend whenever there is time for that to be added....
by fmw42
2018-11-18T20:11:07-07:00
Forum: Users
Topic: Convert pixels within IM?
Replies: 2
Views: 81

Re: Convert pixels within IM?

Do you have more than two 1s in your 1D image?
by fmw42
2018-11-18T20:09:42-07:00
Forum: Bugs
Topic: -format "%@" reports a 20 digit long trim width
Replies: 9
Views: 199

Re: -format "%@" reports a 20 digit long trim width

pr3sidentspence wrote:
2018-11-18T18:53:41-07:00
Should I report this elsewhere, or is this the spot?
Here should be sufficient. But if you want, you can create a new issue at https://github.com/ImageMagick/ImageMagick
by fmw42
2018-11-18T18:46:26-07:00
Forum: Users
Topic: -rotate more than double jpg size
Replies: 5
Views: 151

Re: -rotate more than double jpg size

ImageMagick always decompressed and recompressed JPGs even when only modifying the Meta data such as with -set comment. So you should probably look for some other tool as snibgo suggested above.