dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] Scaling of images


From: Marc Haisenko
Subject: [Pnet-developers] Scaling of images
Date: Thu, 11 Aug 2005 12:34:32 +0200
User-agent: KMail/1.8.1

Hi folks,
I've just committed some code for DotGNU.Images.BmpResizer.ShrinkBmp, which is 
used internally to scale images.

My code adds support for shrinking from/to 32bpp ARGB images. A quick test 
shows the other cases still work as expected but I don't have the time to 
test all cases. So if some icons/images of your applications suddenly are 
messed up, they are propably scaled and it's my fault ;-)

Also a minor optimization in DotGNU.Images.Frame.Scale was implemented: if the 
target size is the same as the source size then don't try to resize but 
simply clone the frame.

C'ya,
        Marc

-- 
Marc Haisenko
http://darkdust.net
Today is Pungenday, the 4th day of Bureaucracy in the YOLD 3171

Attachment: pgplzoZrPradP.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]