Search found 1015 matches
- 2017-09-15T09:40:45-07:00
- Forum: Users
- Topic: Gps Degrees to Decimal Help
- Replies: 11
- Views: 23542
Re: Gps Degrees to Decimal Help
45/1, 5946/100, 0/1,8/1, 5697/100, 0/1<--------------------------- ???? The right order is DMS(d + m/60 + s/3600) and not DSM Why do you say that this is in DSM order? It isn't. IM simply prints the text that is in the EXIF GPS tag: 45/1, 5946/100, 0/1,8/1, 5697/100, 0/1n 5946/100 minutes is 59.46 ...
- 2017-06-01T09:02:58-07:00
- Forum: MagickWand
- Topic: Help me to find high saturation and brightness colors.
- Replies: 18
- Views: 202044
Re: Help me to find high saturation and brightness colors.
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
Pete
- 2017-05-30T12:13:25-07:00
- Forum: MagickWand
- Topic: Help me to find high saturation and brightness colors.
- Replies: 18
- Views: 202044
Re: Help me to find high saturation and brightness colors.
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 ...
- 2017-05-30T09:51:56-07:00
- Forum: MagickWand
- Topic: Help me to find high saturation and brightness colors.
- Replies: 18
- Views: 202044
Re: Help me to find high saturation and brightness colors.
Hi snibgo:
I just tried "QuantumRange*50./100" and "QuantumRange*0.5" and they don't change the output.
I'm using ImageMagick 7.0.5-5 Q16 x64
I did output intermediate images but I only eyeballed them. I'll let IM compare them to see if there are any differences.
Thanks
Pete
I just tried "QuantumRange*50./100" and "QuantumRange*0.5" and they don't change the output.
I'm using ImageMagick 7.0.5-5 Q16 x64
I did output intermediate images but I only eyeballed them. I'll let IM compare them to see if there are any differences.
Thanks
Pete
- 2017-05-30T08:14:36-07:00
- Forum: MagickWand
- Topic: Help me to find high saturation and brightness colors.
- Replies: 18
- Views: 202044
Re: Help me to find high saturation and brightness colors.
Thanks for posting your code. It produces the same output for the logo: image as my code does and they don't agree with the command line output. This command line: convert one.jpg -scale '50x50!' -depth 8 \ '(' -clone 0 -colorspace HSB -channel gb -separate +channel -threshold 50% -compose multiply ...
- 2017-05-24T20:27:03-07:00
- Forum: Bugs
- Topic: composite -stereo no longer makes anaglyph
- Replies: 3
- Views: 10930
Re: composite -stereo no longer makes anaglyph
It works for me with ImageMagick 7.0.5-5 Q16 x64.
Pete
Pete
- 2017-05-24T09:42:41-07:00
- Forum: MagickWand
- Topic: Help me to find high saturation and brightness colors.
- Replies: 18
- Views: 202044
Re: Help me to find high saturation and brightness colors.
Could you post the code which does the first convert command? I'm using the logo: image as input and my code produces two extra colours in the output, all the other are identical to the output from the convert command.
Pete
Pete
- 2017-05-22T09:28:54-07:00
- Forum: MagickWand
- Topic: Help me to find high saturation and brightness colors.
- Replies: 18
- Views: 202044
Re: Help me to find high saturation and brightness colors.
Thanks.
I was dividing the pixel colours by 256 instead of QuantumRange. I'm using a Q16 IM so 256 doesn't work too well.
Now to figure out why I get 6 colours but they aren't the right ones.
Pete
I was dividing the pixel colours by 256 instead of QuantumRange. I'm using a Q16 IM so 256 doesn't work too well.
Now to figure out why I get 6 colours but they aren't the right ones.
Pete
- 2017-05-19T08:48:03-07:00
- Forum: MagickWand
- Topic: Help me to find high saturation and brightness colors.
- Replies: 18
- Views: 202044
Re: Help me to find high saturation and brightness colors.
@rpatelob
Would you mind showing your code? I've almost got that working except for the last step.
Pete
Would you mind showing your code? I've almost got that working except for the last step.
Pete
- 2017-05-12T08:44:07-07:00
- Forum: MagickWand
- Topic: Help me on MagickColorMatrixImage
- Replies: 3
- Views: 94171
Re: Help me on MagickColorMatrixImage
I searched for "AcquireKernelInfo" in the source code. Then look in the results for a line beginning with a percent sign like this: % AcquireKernelInfo() takes the given string (generally supplied by the That's the beginning of the comment about the function before the actual code. Then below that ...
- 2017-05-11T17:45:57-07:00
- Forum: Bugs
- Topic: FYI: bad link in Anthony's examples
- Replies: 0
- Views: 13613
FYI: bad link in Anthony's examples
In Anthony's grayscale examples, the link in this line:
Pete
doesn't work (The requested URL was not found on this server.)This is an identical result to using "-fill DodgerBlue -colorize 100%" to Colorize Images (see below).
Pete
- 2017-05-11T17:37:24-07:00
- Forum: MagickWand
- Topic: GrayScale to Color
- Replies: 5
- Views: 106039
Re: GrayScale to Color
I'd suggest you first try modifying one of your images using the IM command line. Anthony has several sections about this kind of operation. For example, see the four subsections which start with Sepia Tone and then the whole section here: Recoloring Images with Lookup Tables Try those methods and ...
- 2017-05-11T07:32:59-07:00
- Forum: MagickWand
- Topic: Help me on MagickColorMatrixImage
- Replies: 3
- Views: 94171
Re: Help me on MagickColorMatrixImage
Looks like this has swapped the red and blue: void test_wand(void) { MagickWand * m_wand; KernelInfo *ki; ExceptionInfo *ei; m_wand = NewMagickWand(); MagickReadImage(m_wand,"rose:"); ki = AcquireKernelInfo("3x3:0, 0, 1, 0, 1, 0, 1, 0, 0",ei); MagickColorMatrixImage(m_wand, ki); MagickWriteImage(m ...
- 2017-05-11T07:12:21-07:00
- Forum: MagickWand
- Topic: How to pass parameters in PixelSetHSL
- Replies: 3
- Views: 93599
Re: How to pass parameters in PixelSetHSL
I, obviously, hadn't used HSL before. Hue is specified in degrees (thus the /360.0) and Saturation and Lightness are fractions from zero to one (often specified as a percentage).
Pete
Pete
- 2017-05-10T10:10:46-07:00
- Forum: MagickWand
- Topic: How to pass parameters in PixelSetHSL
- Replies: 3
- Views: 93599
Re: How to pass parameters in PixelSetHSL
The arguments to PixelSetHSL are double floating point fractions of QuantumRange.
Note that the first one has to be cast to double (or written as 120.0) so that the division isn't done as integers which would result in zero.
Pete
Code: Select all
PixelSetHSL(PW2, (double)120/QuantumRange, 50/100.0, 50/100.);
Pete