Matt hello

Thanks for the reply..

So what I did was eventually what I was thinking.. 

in the scroll view delegate's method scrollViewdidEndZoom... I got the scale 
and then analyze what is it.. and base on the scale factor I just load a bigger 
or smaller image.. But I know it can be enhanced somehow.. I have an image 
double the size of the original image.. What Im doing is if the scale is >=2.0 
then I load on all the UIImageView's that are inside the scroll view the big 
image... otherwise I load the normal size image, + additionally to still keep 
the size of the frame of the images I modify the .a and .d components of the 
transformation matrix...  (Still Im just assigning a 0.5).  

The results. I see a Bigger image, as if it was scaled, but because in fact the 
image is displaying comes form a double size image there is no perceptive 
pixelation after the 2.0 scale.


It was kinda harsh solution, but fortunately  the images changes very fast 
because they are not big 16k at the most.



On Jan 22, 2011, at 4:52 PM, Matt Neuburg wrote:

> On Fri, 21 Jan 2011 23:04:21 +0100, Gustavo Pizano 
> <gustavxcodepic...@gmail.com> said:
>> So here are my only thought... 
>> 
>> Get a bigger image and when zooming getting the image with the correct scale.
> 
> Exactly so. See the PhotoScroller example. m.
> 
> --
> matt neuburg, phd = m...@tidbits.com, <http://www.apeth.net/matt/>
> A fool + a tool + an autorelease pool = cool!
> AppleScript: the Definitive Guide - Second Edition!
> http://www.apeth.net/matt/default.html#applescriptthings

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to