• 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
Re: Drag and Drop from NSOpenGLView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and Drop from NSOpenGLView


  • Subject: Re: Drag and Drop from NSOpenGLView
  • From: "E. Wing" <email@hidden>
  • Date: Mon, 10 Apr 2006 11:27:49 -0700

[bump] Still hoping for a response :)


> Date: Thu, 6 Apr 2006 17:35:10 -0700
> From: "E. Wing" <email@hidden>
> Subject: Drag and Drop from NSOpenGLView
> To: email@hidden
> Message-ID:
> 	<email@hidden>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I'm trying to implement drag-and-drop from an NSOpenGLView which will
> result in a screenshot being taken from the OpenGL view and dropped to
> wherever. I seem to have gotten the basics covered with the
> glReadPixels, NSPasteboard, and dragImage. However, I am having
> trouble with some of the details.
>
> First, when I start dragging the view, the image does appear. However,
> my image is totally opaque. I noticed that with shipping Cocoa
> applications, the images are semi-transparent. What is the
> easiest/best way to faithfully reproduce this affect?
>
> Second, I have specified my type as NSTIFFPboardType. I notice that if
> I drag to my desktop, a TIFF gets created. But I would prefer that a
> PNG (or maybe JPEG) be created instead. I know that the built-in
> screen capture in OS X writes to PNG, so it seems like there should be
> an easy way.
>
> Thanks,
> Eric
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Beginner with Objective-C was Re: scanf...?
  • Next by Date: Re: Size limit of NSData or NSFileHandle?
  • Previous by thread: Drag and Drop from NSOpenGLView
  • Next by thread: Re: Pop up window ala msn messenger
  • Index(es):
    • Date
    • Thread