Thanks for your tip.
When I set the image compression quality to 100, the color is no longer distorted.
Search found 15 matches
- 2018-06-10T00:27:47-07:00
- Forum: Users
- Topic: About gif to jpg color distortion
- Replies: 2
- Views: 4801
- 2018-06-09T23:42:40-07:00
- Forum: Users
- Topic: About gif to jpg color distortion
- Replies: 2
- Views: 4801
About gif to jpg color distortion
2.gif https://1.baobeitu.com/upload/1806/10/1435193427!2.gif convert 2.gif -background white -flatten 2.jpg 2.jpg https://1.baobeitu.com/upload/1806/10/1438145548!2.jpg If you convert to a png image, the color will not be distorted convert 2.gif -background white -flatten 2.png 2.png https://1 ...
- 2018-06-07T23:31:18-07:00
- Forum: Users
- Topic: About PS processing gif diffusion transparency dithering
- Replies: 4
- Views: 5760
Re: About PS processing gif diffusion transparency dithering
Thank you for your help
May joy and health be with you always.
May joy and health be with you always.
- 2018-06-07T16:07:31-07:00
- Forum: Users
- Topic: About PS processing gif diffusion transparency dithering
- Replies: 4
- Views: 5760
Re: About PS processing gif diffusion transparency dithering
convert "1104123729!2.png" -channel RGBA -separate ( +clone -level 50,100% -remap pattern:gray50 ) +swap -combine 2c.gif
Thank you very much, snibgo.
Thank you very much, snibgo.
- 2018-06-07T05:44:15-07:00
- Forum: Users
- Topic: About PS processing gif diffusion transparency dithering
- Replies: 4
- Views: 5760
About PS processing gif diffusion transparency dithering
a picture in png format(1.png): https://1.baobeitu.com/upload/1806/07/2029518376!2.png Use PS to generate a gif image, using a diffuse transparency dithering option(1.gif): https://1.baobeitu.com/upload/1806/07/2029514436!2.gif convert 1.png -channel RGBA -separate ( +clone -remap pattern:gray50 ...
- 2018-06-05T16:47:33-07:00
- Forum: MagickWand
- Topic: About gif Diffusion Transparency Dithering
- Replies: 9
- Views: 112457
Re: About gif Diffusion Transparency Dithering
I tried another simple method MagickWand *mw_rgba = NewMagickWand(); MagickReadImage(mw_rgba, "E:\\temp\\1.png"); MagickWand *mw_clone = CloneMagickWand(mw_rgba); // +clone ? MagickWand *mw_gray50 = CloneMagickWand(mw_rgba); MagickThresholdImageChannel(mw_gray50, AlphaChannel, QuantumRange * 50.0 ...
- 2018-06-05T05:12:20-07:00
- Forum: MagickWand
- Topic: About gif Diffusion Transparency Dithering
- Replies: 9
- Views: 112457
Re: About gif Diffusion Transparency Dithering
Thank you for your help! I tried two different methods: MagickWand *mw_clone = CloneMagickWand(mw_alpha); // +clone MagickWand *mw_gray50 = CloneMagickWand(mw_rgba); MagickThresholdImage(mw_gray50, QuantumRange * 95.0 / 100); MagickRemapImage(mw_clone, mw_gray50, RiemersmaDitherMethod); // -remap ...
- 2018-06-04T16:18:33-07:00
- Forum: MagickWand
- Topic: About gif Diffusion Transparency Dithering
- Replies: 9
- Views: 112457
Re: About gif Diffusion Transparency Dithering
thank you for your reply. According to your tips, I modified the relevant code: MagickWand *mw_rgba = NewMagickWand(); MagickReadImage(mw_rgba, "E:\\temp\\1.png"); MagickWand *mw_red = CloneMagickWand(mw_rgba); MagickWand *mw_green = CloneMagickWand(mw_rgba); MagickWand *mw_blue = CloneMagickWand(mw ...
- 2018-06-04T06:57:26-07:00
- Forum: MagickWand
- Topic: About gif Diffusion Transparency Dithering
- Replies: 9
- Views: 112457
Re: About gif Diffusion Transparency Dithering
I use imagemagick 6.8.9 Below is the code I wrote, but the effect of the generated gif image is not what I expected. I think it must be wrong to use some APIs. 3.gif: https://1.baobeitu.com/upload/1806/04/2155421697!2.gif MagickWand *mw_rgba = NewMagickWand(); MagickReadImage(mw_rgba, "E:\\temp\\1 ...
- 2018-06-03T20:17:19-07:00
- Forum: MagickWand
- Topic: About gif Diffusion Transparency Dithering
- Replies: 9
- Views: 112457
About gif Diffusion Transparency Dithering
1.png https://1.baobeitu.com/upload/1806/04/1104123729!2.png convert 1.png -channel RGBA -separate ( +clone -remap pattern:gray50 ) +swap -combine 1.gif 1.gif https://1.baobeitu.com/upload/1806/04/1104118678!2.gif If MagickWand APIs is used, what relevant APIs need to be used to implement this ...
- 2017-12-04T04:00:47-07:00
- Forum: MagickWand
- Topic: Which API to use to force Grayscale to convert RGB?
- Replies: 6
- Views: 102141
Re: Which API to use to force Grayscale to convert RGB?
http://www.imagemagick.org/discourse-server/viewtopic.php?t=28453 ----------------------------------------------------------- According to the changelog 2015-07-25 6.9.2-0 Dirk Lemstra <dirk@lem.....org> Added "-set colorspace:auto-grayscale=false" that will prevent automatic conversion to grayscale ...
- 2017-12-03T23:53:14-07:00
- Forum: MagickWand
- Topic: Which API to use to force Grayscale to convert RGB?
- Replies: 6
- Views: 102141
Re: Which API to use to force Grayscale to convert RGB?
Thank you very much for yours reply MagickSetOption(mw, "colorspace:auto-grayscale", "off"); //No effect MagickSetImageProperty (magick_wand, "colorspace:auto-grayscale", "off"); //No effect Is my im version too low? After upgrading to the new version, I found a lot of code needs to be modified, so ...
- 2017-12-03T23:41:22-07:00
- Forum: MagickWand
- Topic: Which API to use to force Grayscale to convert RGB?
- Replies: 6
- Views: 102141
Re: Which API to use to force Grayscale to convert RGB?
I use im6.8.9
If it is png format pictures:
MagickSetOption(mw, "png:color-type", "6"); //ok to RGB
but, jpg format pictures:
MagickSetOption(mw, "colorspace:auto-grayscale", "off"); //No effect
If it is png format pictures:
MagickSetOption(mw, "png:color-type", "6"); //ok to RGB
but, jpg format pictures:
MagickSetOption(mw, "colorspace:auto-grayscale", "off"); //No effect
- 2017-12-03T22:05:34-07:00
- Forum: MagickWand
- Topic: Which API to use to force Grayscale to convert RGB?
- Replies: 6
- Views: 102141
Which API to use to force Grayscale to convert RGB?
The color space of a picture is Grayscale, the file name is gray.jpg Use convert.exe-type truecolor to convert RGB color space from Grayscale. convert gray.jpg -type truecolor gray-rgb.jpg However, I now need to use the ImageMagick API to complete the conversion: MagickWand * mw = NewMagickWand ...
- 2016-05-12T19:00:35-07:00
- Forum: MagickWand
- Topic: DrawInfo.fill_pattern has changes ?
- Replies: 0
- Views: 16076
DrawInfo.fill_pattern has changes ?
DrawInfo.fill_pattern on the 6.8.9 version of the performance of normal, when I upgraded to 6.9.4, result of the program has changed. DrawingWand *d_wand = NewDrawingWand(); //Drawing diamond DrawPathStart(d_wand); int x, y; //point x = width / 2; y = height / 2 - i * step * hScale; //(x,y ...