Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IKImageView crop/rotate issues



Hi,
I've been trying to use IKImageView, but have some issues:
1. After using rotate, image knows about changes but is still the same 
size as loaded, imageSize shows new size after rotate but not image 
itself. How can i take this picture with new size? There is nothing in 
documentation about that. Maybe it is also putted in pasteboard?
2. I'm not sure which pasteboard I should use to implement paste 
functionality to get picture after crop.
I've written as beneath to save changes but bestType returns empty. What 
mistake am I doing?
NSPasteboard *pb = [NSPasteboard generalPasteboard];
		NSArray *pasteTypes = [NSArray arrayWithObjects:
			NSTIFFPboardType, NSPICTPboardType, nil];
		NSString *bestType = [pb     availableTypeFromArray:pasteTypes];
		if (bestType != nil)
		{
			NSData *data = [pb dataForType:bestType];
		}
I'm deeply sorry if that is trivial, but realy I don't know how to solve 
it.

Kindly regards

----------------------------------------------------
Która z gwiazd ma fajniejszy dekolt? Kto powinien zrezygnować z
mini? Oglądaj, oceniaj, baw się!
Wejdź na http://klik.wp.pl/?adr=http%3A%2F%2Fhityczykity.pl&sid=403


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.