Thank you, that solved my problem."-define png:exclude-chunks=bkgd"
Search found 7 matches
- 2015-07-31T01:50:11-07:00
- Forum: Users
- Topic: Can paletted PNG be saved without white color 'automatically' added?
- Replies: 3
- Views: 2639
Re: Can paletted PNG be saved without white color 'automatically' added?
- 2015-07-30T12:43:10-07:00
- Forum: Users
- Topic: Can paletted PNG be saved without white color 'automatically' added?
- Replies: 3
- Views: 2639
Can paletted PNG be saved without white color 'automatically' added?
convert rose: -colors 12 -type palette test.png identify -verbose test.png ... Colors: 12 Histogram: 581: ( 51, 51, 45) #33332D srgb(51,51,45) 155: ( 83, 76, 56) #534C38 srgb(83,76,56) 296: ( 94, 93, 79) #5E5D4F srgb(94,93,79) 217: ( 98, 57, 47) #62392F srgb(98,57,47) 272: (110,147, 86) #6E9356 ...
- 2015-07-12T12:00:12-07:00
- Forum: Users
- Topic: Intensity methods of morphology command -- can there be colors of the same 'intensity'?
- Replies: 7
- Views: 2893
Re: Intensity methods of morphology command -- can there be colors of the same 'intensity'?
An update: Boundaries between colors of the same intensity are not affected Actually, the whole image is shifted, and result doesn't look right to me. Here is an exaggerated example: convert +antialias -size 200x200 xc:#00FF00 -fill #FF0000 -draw "rectangle 50,50,150,150" -fill black -draw ...
- 2015-07-11T07:36:10-07:00
- Forum: Users
- Topic: Intensity methods of morphology command -- can there be colors of the same 'intensity'?
- Replies: 7
- Views: 2893
Re: Intensity methods of morphology command -- can there be colors of the same 'intensity'?
Thanks a lot, it works exactly as you said. Boundaries between colors of the same intensity are not affected, and, yes, "Brightness" will suit perfectly, because image uses limited palette, and colors can be mapped to any set before processing and back afterwards.
- 2015-07-11T03:25:01-07:00
- Forum: Users
- Topic: Intensity methods of morphology command -- can there be colors of the same 'intensity'?
- Replies: 7
- Views: 2893
Intensity methods of morphology command -- can there be colors of the same 'intensity'?
I.e. can we have 2 colors, whose boundary will not be affected by intensity variants of morphology command? What's the exact formula for 'intensity'? It seems to be not 0.299*red + 0.587*green + 0.114*blue because with convert +antialias -size 200x200 xc:rgb(0%,100%,0%) -fill rgb(100%,70.263980%,0 ...
- 2015-07-02T12:20:44-07:00
- Forum: Users
- Topic: Should '-median' and '-statistic median' produce same result, and what are their parameters?
- Replies: 2
- Views: 2015
Re: Should '-median' and '-statistic median' produce same result, and what are their parameters?
It should be, but it isn't? Strange results when supplying '-statistic median' with single numeric parameter are confusing, too. At least we can hope 'WxH' parameter is box size, indeed. Thanks for your answer.
- 2015-07-02T10:35:49-07:00
- Forum: Users
- Topic: Should '-median' and '-statistic median' produce same result, and what are their parameters?
- Replies: 2
- Views: 2015
Should '-median' and '-statistic median' produce same result, and what are their parameters?
Documentation says '-median' ' is legacy option from the method of the same name', so I'd expect them be identical. However, running 4 commands: convert LOGO: -median 3x3 m33.png convert LOGO: -median 3 m3.png convert LOGO: -statistic median 3x3 sm33.png convert LOGO: -statistic median 3 sm3.png I'm ...