RE: NSBitmapImageRep with floating point values

2011-02-05 Thread Paul Morel
, David Duncan david.dun...@apple.com wrote: On Feb 3, 2011, at 1:32 PM, Paul Morel wrote: in my application I would need to save an image where pixel intensities are floating point values. Apparently TIFF can support that.But I don't know I can do that in Objective-C. I saw

NSBitmapImageRep with floating point values

2011-02-03 Thread Paul Morel
Hi, in my application I would need to save an image where pixel intensities are floating point values. Apparently TIFF can support that.But I don't know I can do that in Objective-C. I saw that there is a bitmap format NSFloatingPointSamplesBitmapFormat that can be used. Does anybody knows how

change the CGColorSpace when using a CIFilter to use 16bits/channel images

2010-04-07 Thread paul morel
Hi,does anybody knows how to change the colorspace when we want to use a CIFilter?It seems possible looking at the question asked : http://lists.apple.com/archives/quartz-dev/2008/Aug/msg00060.html But I didn't manage to change it. My guess is that if I can change the colorspace from RGBA

CIFilter - output image format

2010-04-02 Thread paul morel
Hi,I have a problem with the output image of my custom CIFilter. Let's say I have a 16 bits image at the input I would like to keep a 16bits image in output.How can I do that? Because so far I have a 8 bits image at the output. Thanks ,Paul

Problem to save a CIImage using a CGImageRef

2010-04-01 Thread paul morel
Hi ,I'm having some trouble to save an image. Here is what I do: NSBitmapImageRep* rep = [[[NSBitmapImageRep alloc] initWithCIImage: myCiImage] autorelease]; CGImageRef image = [rep CGImage];NSURL * url = [NSURL fileURLWithPath: path]; CGImageDestinationRef dest =

CIFilter and grayscale image

2010-03-29 Thread paul morel
Hi, I would like to apply a custom CIFilter to a grayscale image. The problem is that the kernel of the CIFilter is for RGB images. So the output is a RGB image but I would like to convert it in grayscale and I have no idea how I could do that.This would be to display in a IKImageview. If

Modify image in IKImageview with CIFilter‏

2010-03-22 Thread paul morel
Hi, I was wondering if someone would know how it is possible to use a CIFilter with an IKImageview? In the documentation they mention the fact that we can use an IKImageview with a CIFilter. But they don't really explain how! Actually so far I am using a CALayer that I added over the

RE: IKFilterUIView - Problem with text fields

2010-03-12 Thread paul morel
2010 17:52:53 +0100 From: paul morel elbomber...@hotmail.com Subject: IKFilterUIView - Problem with text fields To: cocoa-dev@lists.apple.com Message-ID: snt142-w54c14d6f68ea05311fdda1be...@phx.gbl Content-Type: text/plain; charset=iso-8859-1 Hi

IKFilterUIView - Problem with text fields

2010-03-09 Thread paul morel
Hi,-I am developping a program where I use an IKFilterUIView to manage the user interface for filters. I also created my own filter according to the core image filter tutorials in the Mac Dev Center. So far I have the user interface and when I interact with the sliders it works pretty well.