Help me to find high saturation and brightness colors.

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Help me to find high saturation and brightness colors.

Post by snibgo »

Are you using HDRI? This can cause very small differences, due to IM and C code doing arithmetic differently. With integer IM, these differences are usually swamped by rounding to integers.
snibgo's IM pages: im.snibgo.com
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Help me to find high saturation and brightness colors.

Post by el_supremo »

Version: ImageMagick 7.0.5-5 Q16 x64 2017-04-25 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib
Doesn't look like HDRI is there.

Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
rpatelob
Posts: 62
Joined: 2017-04-17T22:17:01-07:00
Authentication code: 1151

Re: Help me to find high saturation and brightness colors.

Post by rpatelob »

I checked the output. It gives me the perfect output.
Could you notice, there is a HDRI in features.
So as @snibgo said, I think the HDRI might causes the differences.

And I have installed ImageMagick from source for Linux.
Version: ImageMagick 7.0.5-9 Q16 x86_64 2017-06-01 http://www.imagemagick.org
Copyright: © 1999-2017 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI OpenMP
Delegates (built-in): bzlib djvu fontconfig freetype gvc jbig jng jpeg lcms lqr lzma openexr png tiff wmf x xml zlib
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Re: Help me to find high saturation and brightness colors.

Post by el_supremo »

OK. Now I'm with you. The "magick" command line program in my IM install is not HDRI enabled but I've just checked the MagickWand code (from the same package) and it has MAGICKCORE_HDRI_ENABLE defined so the command line and the program aren't exactly the same.

Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
Post Reply