New topic: ImageView and Scaled Pictures
<http://forums.realsoftware.com/viewtopic.php?t=45553> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message Alfons Post subject: ImageView and Scaled PicturesPosted: Mon Oct 08, 2012 12:16 pm Joined: Fri Oct 01, 2010 11:34 am Posts: 51 I scale into a ImageView any picture that I need to put in there, but ImageView turns out a worst image than the original. If I do the scaled process externally with Preview app in Mac, ImageView displays a perfect image because it fits 100%. Pictures are JPEG. No problems in Canvas or ImageWell in RS. I use these lines of code: Function ScalePic (pic as picture) as Picture Dim p as New Picture (400,300,32) p.graphics.DrawPicture(pic,0,0,p.width,p.height, 0,0, pic.width, pic.height) Return p Any comments will be appreciated. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
