I have run into the same problem with my open source image editor, ImagePlay. 

For downsizing, the easy way to solve the "jaggies" problem is to blur the 
image slightly before
reducing the size. But I think a better looking way is to calculate the pixel 
mixing yourself, it
will certainly be slower than just using g.drawpicture to do the scaling though.

For increasing the size, the easiest way is to blur the image after resize. A 1 
pixel blur for a
2x resize tends to take the jaggies off without being too blurry, in my opinion.

You can get the source code to ImagePlay at http://imageplay.sourceforge.net/ 
(It contains a
module chock full of effects such as Resize and Blur which you are free tp use 
in your own
programs.)


Hope that helps,
~ Tomis


--- Joe Huber <[EMAIL PROTECTED]> wrote:

> I need to improve the image scaling in my RB app, Windows build especially.
> 
> Does anyone have specific recommendations?
> 
> I know MBS and ComponentX offer solutions. Are there others? How do 
> they compare on speed and quality?
> 
> Thanks,
> Joe Huber
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to