• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IKImageView crop/rotate issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IKImageView crop/rotate issues


  • Subject: IKImageView crop/rotate issues
  • From: "Janusz Sidor" <email@hidden>
  • Date: Sat, 05 Jul 2008 18:50:03 +0200
  • Organization: Nowa Poczta Wirtualnej Polski S.A. http://www.wp.pl/

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://hityczykity.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:

This email sent to email@hidden

  • Prev by Date: Re: command line arguments with NSWorkspace openFile
  • Next by Date: Re: c++ exceptions in objective c call stack
  • Previous by thread: Re: NSTableView and rows of different "type"
  • Next by thread: auxiliary window doesn't show again after first show
  • Index(es):
    • Date
    • Thread