Re: Convert jpg with quality not properly
YongdeGe <[email protected]> Sat, 15 Sep 2018 21:29:15 +0800
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <[email protected]> |
Thank you for your reply.
The golang binding (https://github.com/rainycape/magick) was not maintained for at least four years, and the binding use MagickCore api, and it call low api ImageToBlob with info{quality, format}.
Maybe I should try to change another golang binding.
> 在 2018年9月14日,上午3:43,Bob Friesenhahn <[email protected]> 写道:
>
> On Wed, 12 Sep 2018, YongdeGe wrote:
>
>> Hi, All:
>>
>> Now, I do some work to handle images with GM golang binding: https://github.com/rainycape/magick <https://github.com/rainycape/magick>. When I convert jpg file with quality 70 use the library, the quality of the jpg file is 34. As while, when I set quality to 88, the jpg file’s real quality change to 70. But, I use the gm command to do the same things, the qualities are all right.
>>
>> Can some body to help me?
>
> This issue seems likely to be due to "ImageMagick bindings for Go" so I suggest that you persue an issue there first.
>
> It sounds like some other parameter besides 'quality' is being passed as the quality. This could be a binary interfacing issue.
>
> Did you compile this binding yourself or did you find it precompiled?
>
> Bob
> --
> Bob Friesenhahn
> [email protected], http://www.simplesystems.org/users/bfriesen/
> GraphicsMagick Maintainer, http://www.GraphicsMagick.org/_______________________________________________
> Graphicsmagick-help mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help
_______________________________________________
Graphicsmagick-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help