[Rubycocoa-devel 705] Re: NSBitmapImageRep#writeToFile:atomically selector not recognized

Back to archive index

Benjamin Jackson bhjac****@gmail*****
Fri Jan 26 01:22:26 JST 2007


Thanks all! I'll go with the first option, I think.

On 1/25/07, Laurent Sansonetti <lsans****@apple*****> wrote:
> Yeah, that would also work. As Alex noticed, [-
> writeToFile:atomically:] is an NSData method, and NSBitmapImageRep
> (neither NSImageRep) doesn't inherit from NSData.
>
> Laurent
>
> On Jan 25, 2007, at 12:01 PM, Alexander Kellett wrote:
>
> > hey benjamin,
> >
> > On 25 Jan 2007, at 11:45, Laurent Sansonetti wrote:
> >>> bitmap.writeToFile_atomically("/Users/bjackson/Desktop/
> >>> test.bmp", true)
> >
> > don't you mean
> > bitmap.TIFFRepresentation.writeTo...?
> >
> > fyi. http://www.cocoadev.com/index.pl?NSImageToJPEG
> >
> > Alex
> >
> >
> > ---
> > Alexander Kellett
> > PGP - 0x6BFA8EF3, FPR: DA65 D6DE 56A9 D715 EFB6 A948 B2EF 6622 6BFA
> > 8EF3
> >
> >
> > _______________________________________________
> > Rubycocoa-devel mailing list
> > Rubyc****@lists*****
> > http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel
>
> _______________________________________________
> Rubycocoa-devel mailing list
> Rubyc****@lists*****
> http://lists.sourceforge.jp/mailman/listinfo/rubycocoa-devel
>



More information about the Rubycocoa-devel mailing list
Back to archive index