Re: Processing TIFF/PNG Layers
Re: Processing TIFF/PNG Layers
- Subject: Re: Processing TIFF/PNG Layers
- From: Erik Buck <email@hidden>
- Date: Mon, 13 Feb 2006 20:23:09 -0500
Does anyone know where I can see an example of how to process/add
layers to a TIFF image?
I want to be able to grab an image, separate the layers (CGLayer?)
into their separate contexts for
the user to work with; and add a new transparent layer.
Specifically,
1) allowing the user to draw/edit upon a layer above a static
layer per
button.
2) Combine the layers back into the TIFF/PNG for storage.
I believe the same could be done with a PNG image?
I am certainly no expert on the Tiff and PNG image formats, but I am
fairly confident CGLayer has nothing to do with any layering
information stored in image formats.
Tiff is a huge standards, and I have never heard of any Tiff library
that supports all of the theoretically standard compliant image
formats. Nevertheless, I don't think Tiff actually supports "layers"
in the context you describe. What you describe sounds like Photoshop
layers or Corel Photo-paint layers.
What do you mean by "static layer per button" ? What button ?
I think you want to just buy Photoshop.
On the off chance that you want to write yet another image editing
application and use Cocoa, you are going to have to learn about
NSView, mouse handling, NSImage, general information about alpha-
channels, compositing operations, maybe transparent child windows
(depending on what you are trying to accomplish).
At a lower level, there is Core Graphics, Core Image, Quartz
Composer, Quicktime, image I/O, and particulars about various image
file formats for you to study.
_______________________________________________
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