Creating Really Big TIFF's
Creating Really Big TIFF's
- Subject: Creating Really Big TIFF's
- From: Robert Clair <email@hidden>
- Date: Thu, 10 Jul 2003 07:47:55 -0400
I need to make very large tiff files at printer resolution, say
600 dpi or more, from the Cocoa drawing instructions in my view.
Since this is potentially hundreds of Mbytes, just making an NSImage
with
a correct size NSImageRep, drawing on it and using -TiffRepresentation
isn't going to fly. (Can't assume the user has a G5 with 8 gig
of memory :-) )
The last time I had to do something like this (years go, X11, Sun)
I banded the image, created PostScript files for the bands and
then post-processed them through a hacked up version of
GhostScript to produce targa files (what was needed for the job)
and some code to sew the tga's together.
Is there some way to make Cocoa do the banding ? It must
be able to do something like this because you can print. I suspect
what I need is a dummy printer that specifies the page size and
resolution
and accepts the pixels, which it will stream to a file. Raw pixels and
fixing up into tiff or whatever as a post process is OK.
Any suggestions on where to look for the info ?
Thanks,
Bob Clair
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.