Questions tagged [ikimageview]

45 questions
0
votes
1 answer

Save image after rotate it. But picture has lower resolution after saving

I am trying rotate an image from IKImageView. But after rotating and saving it, I got a lower resolution picture. Below is code which I am using for rotating -(NSImage *)imageRotated:(float)degrees{ degrees = fmod(degrees, 360.); if(0 ==…
NextTrang
  • 5
  • 5
0
votes
1 answer

IKImageView resize problem

I have an IKImageView that fills the entirety of a window. When the window is resized, the image does not resize with it. So I naturally think, well I'll change the zoom factor in the windowDidResize. However, the zoom does not adjust smoothly, it…
Nick Locking
  • 2,147
  • 2
  • 26
  • 42
0
votes
1 answer

IKImageView redraw problem on image change

I have one large IKImageView in my window. The image changes when the user clicks something. When the change happens, the IKImageView first draws the background colour, then draws the image over the top of it, which looks pretty crappy. Is there a…
Nick Locking
  • 2,147
  • 2
  • 26
  • 42
0
votes
2 answers

IKImageBrowserView and ImageTitle

I have a imagebrowserview displaying a folder full of photo correctly but its not showing the image title of each of the photo ... is there a tutorial to show me how this works? Regards AGW
AGW
  • 1
  • 1
0
votes
1 answer

Prevent IKImageView from handling gestures

I have class Canvas and another custom view CanvasItem both subclasses of NSView. The CanvasItem has a IKImageView subview. Canvas overrides magnifyWithEvent to react to the gesture. Everything works fine except the case when the gesture is done on…
Kolja
  • 2,307
  • 15
  • 23
0
votes
1 answer

Removing the image from an IKImageView

I have an IKImageView that is coming up effectively un-initialized. This is happening effectively in an error-state (The user is unregistered) so I haven't had a chance to put an image in it yet. In 10.6, this comes up fine, with a black rectangle.…
Brian Postow
  • 11,709
  • 17
  • 81
  • 125
0
votes
1 answer

Making IKImageView aware of my custom NSImageRep

In my application, I’ve written a custom NSImageRep to handle a proprietary image format. The application’s primary view is an IKImageView, which I intend to load the images I’ve made the custom NSImageRep for into for viewing and manipulation. If I…
John Wells
  • 1,139
  • 1
  • 10
  • 27
0
votes
1 answer

subview of IKImageView appears below image instead of above

I have a IKImageView and a NSImageView as a subview. Subviews are supposed to get drawn above their master view. I tried an NSImageView with the same subview, and it worked fine, but I really need to be able to move the image around with the mouse,…
pvinis
  • 4,059
  • 5
  • 39
  • 59
0
votes
1 answer

Window disappears for a short time on setContentView

here is my code: - (void)showEditBackground { editBackgroundController = [[EditBackgroundVC alloc] initWithNibName:@"BackgroundVC" bundle:nil]; [window setContentView:editBackgroundController.view]; } the problem is: If I call this code the…
xnz
  • 63
  • 1
  • 5
0
votes
2 answers

IKImageView zooming controlled by an NSSlider

What's the best practice for setting zoom factor of an image within IKImageView via NSSlider? I was able to bind a slider either to zoom in OR zoom out action of an IKImageView. Obviously, what I'd rather see is a single slider controlling both…
0
votes
1 answer

IKImageView loses its focus for drag and drop when it is enclosed by NSScrollView

I Have an IKImageView enclosed by NSScrollView and a NSSlider for zooming the image in and out. IKImageView Supports drag and drop when the image is in normal size, but it loses its focus when the image is zoomed in. (If I scroll the IKImageView to…
Aravindhan
  • 15,608
  • 10
  • 56
  • 71
0
votes
1 answer

Two Finger Drag with IKImageView and NSScrollView in Mountain Lion

I have a Mac App that's been in the app store for a year or so now. It was first published with target SDK 10.7, Lion. Upon the update to Mountain Lion it no longer works. The application displays large images in an IKImageView which is embedded in…
Stateful
  • 737
  • 2
  • 9
  • 25
0
votes
1 answer

Previewg images via IKImage View

I need help ,I am pressed by time and I am blocked. Ihave a table view containing a directory's files (icon, name, size, date) . Tha table is filled via an arraycontroller. The table view just displays the image files and pdf files.When I select a…
0
votes
0 answers

Preview image from a tableview

I have a tableview that contains a directory's files. When I select a row from the table , I want to preview the contents of it ( for example the contents of an jpeg image or a pdf file), but I can't find a solution . Do you have any suggestion…
0
votes
1 answer

IKImage Gesture zoom rotate

In my application I use IKImageview to preview a image,and by default it supports two finger gestures like moving up,down,left,right. Now I want to add rotate and zoom gestures to it ,does anyone has any good ideas? Thank you very much. does anyone…
hodge
  • 125
  • 6
1 2
3