Re: Resize filters
Bob Friesenhahn <[email protected]> Mon, 23 May 2011 13:21:17 -0500 (CDT)
| Newsgroups | gmane.comp.video.graphicsmagick.apis |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 23 May 2011, [email protected] wrote: >> >> If my memory is correct, the bug was in the Wand library. It was fixed >> in conjunction with other changes. However, I am not able to find a >> record of a change so perhaps my memory is incorrect. > > I'm using magick api directly. > >> Regardless, 1.3.5 is an old release and a huge number of bugs have been >> fixed since then. > > Understood, and what I was afraid-of, in a way :) Quite by coincidence, I happen to be sitting in front of the exact same Ubuntu version you are using. It seems that the functionality is working for the command line: MAGICK_DEBUG=transform /usr/bin/gm convert logo: -filter blackman -resize '20%' null: 13:16:05 0:01 0.000u 25775 resize.c/ResizeImage/1281/Transform: Resizing image of size 654x418 to 131x84 using Blackman filter 13:16:05 0:01 0.010u 25775 resize.c/VerticalFilter/1006/Transform: Enter VerticalFilter() ... 13:16:05 0:01 0.010u 25775 resize.c/VerticalFilter/1177/Transform: Normal exit VerticalFilter() 13:16:05 0:01 0.010u 25775 resize.c/HorizontalFilter/809/Transform: Enter HorizontalFilter() ... 13:16:05 0:01 0.020u 25775 resize.c/HorizontalFilter/979/Transform: Normal exit HorizontalFilter() Since it works for the utility, it can clearly work via the API as well since the utility uses the API. What resize API function are you invoking and what parameters are you passing? Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay