On Jan 24, 2011, at 09:46, Rajendran P wrote:

>  i have a  single  bitmap/jpeg (no restriction on image type) of size 360*30 
> consisting of 12 pictures  each of size 30*30 , i need to programatically 
> retrieve each of these images and display them in ui . any suggestion on how 
> to 
> approach this would be of great help 

There's an API for that.

You don't say whether you're asking about Mac OS X or iOS, but you can start by 
looking at the documentation for -[NSImage 
drawInRect:fromRect:operation:fraction:]:

        
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSImage_Class/Reference/Reference.html

noting the 'fromRect:' parameter.


_______________________________________________

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