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 protected])
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 [EMAIL PROTECTED]