Re: saving jpegs
Re: saving jpegs
- Subject: Re: saving jpegs
- From: "Alan Smith" <email@hidden>
- Date: Thu, 16 Mar 2006 16:59:41 -0500
Okay. It works to get the contents of, say a NSTextView, and put it in a
NSImageView. But it doesn't work to get NSBezierPath lines and stuff from a
view. I have it draw a 10x10 rectangle when you click in the view. That
works. But when you try to copy that and put it in the imageView nothing
shows up.
Any ideas? Thanks again, Alan
On 3/16/06, I. Savant <email@hidden> wrote:
>
>
> A window's contents are in a -contentView, which, like all views,
> can give you its canvas as an image ... and yes, that's also in the
> docs. :-)
>
> --
> I.S.
>
>
> On Mar 16, 2006, at 2:45 PM, Alan Smith wrote:
>
> > What if the data is in a NSWindow? Same thing? Read the doc?
> >
> > On 3/16/06, I. Savant <email@hidden> wrote:
> >>
> >>
> >> Alan - forgot to include the final step: Image to jpeg.
> >>
> >> http://www.cocoadev.com/index.pl?NSImageToJPEG
> >>
> >>
> >> --
> >> I.S.
> >>
> >>
> >> On Mar 16, 2006, at 2:25 PM, Alan Smith wrote:
> >>
> >>> Here is my question: How do you get the stuff in a NSView and save
> >>> it in a
> >>> JPEG file? "The stuff" would be bezier paths.
> >>>
> >>> Thanks, Alan
> >>> _______________________________________________
> >>> Do not post admin requests to the list. They will be ignored.
> >>> Cocoa-dev mailing list (email@hidden)
> >>> Help/Unsubscribe/Update your Subscription:
> >>> 40gmail.com
> >>>
> >>> This email sent to email@hidden
> >>
> >>
>
>
_______________________________________________
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