Hi,
I am using Magick++ for my MFC application. I am not able to understand the use of FilterTypes ( file - resample.h ) in ImageMagick.
I have used one of the filter types on an image but saw no effect of that filter. I loaded an image using Image class. Then applied one of the filter types on that Image. I didn't see any effect of that filter on that Image.
Can anybody tell me where to use these filter types.?
For example (CubicFilter, LagrangeFilter, LanczosFilter etc..) what change these filters will do on an Image.?
Or
If somebody has used any of the filter types, plz provide the sample code for the same.
Any help will be appreciated.
Thanx & Regards,
Mbatra
Use of FilterTypes in ImageMagick.?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Use of FilterTypes in ImageMagick.?
Filters are used when doing general resizing or distortion of images. Basically when you need to resample the image with scale changes.
See IM examples, Resize which goes into filters extensively from the command line.
http://www.imagemagick.org/Usage/resize/#filter
See IM examples, Resize which goes into filters extensively from the command line.
http://www.imagemagick.org/Usage/resize/#filter
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Use of FilterTypes in ImageMagick.?
I have some code ( php ) and examples of filter use here: http://www.rubblewebs.co.uk/imagemagick ... filter.php although I can not see much difference in my examples! I should probably crop a section out to see the effect more.