Image appears blurred some times??
-
I am allowing users to resize images dynamically using CRectTracker . What i observed is while resizing using mouse sometimes images appears blurred and if i further resize again it becomes good this keeps on happening. I have set Interpolation mode to InterpolationmodeHighQualityBicubic. What can be the reason for image to appear blurred.?? i am little confused with this as everytime it follows same code flow. and every time i am using one original image for resizing(the resized image is not used for further resizing.) Some hellp or some hints would be highly appreciated. Thanks, Sandip.
-
I am allowing users to resize images dynamically using CRectTracker . What i observed is while resizing using mouse sometimes images appears blurred and if i further resize again it becomes good this keeps on happening. I have set Interpolation mode to InterpolationmodeHighQualityBicubic. What can be the reason for image to appear blurred.?? i am little confused with this as everytime it follows same code flow. and every time i am using one original image for resizing(the resized image is not used for further resizing.) Some hellp or some hints would be highly appreciated. Thanks, Sandip.
What is CRectTracker ? The blurring is what a bicubic filter does, it blends values from imaginary subpixels, so as not to create a harsher effect by simply rounding the values.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
What is CRectTracker ? The blurring is what a bicubic filter does, it blends values from imaginary subpixels, so as not to create a harsher effect by simply rounding the values.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Yes but why it is different always? I mean i draw image once it is acceptable Second time i resize litle it becomes blurred than first Third time i further resize again it becomes acceptable. For each resize i am using original image so there cant be effect of previous resize operation. ?? Thanks, Sandip.