Here's the code I use: The originalData.length gives me 1802224 bytes (1.7MB). While the image size on the disk is 457KB. Why does TIFFRepresentati ...
Here's the code I use: The originalData.length gives me 1802224 bytes (1.7MB). While the image size on the disk is 457KB. Why does TIFFRepresentati ...
i'm quite new to objective C and followed some instructions i found, but at the moment i got stuck. i am trying to load an image with the following c ...
Application that I am working process images. It's like user drops at max 4 images and app layout them based on user's selected template. One image mi ...
In my application, I’ve written a custom NSImageRep to handle a proprietary image format. The application’s primary view is an IKImageView, which I in ...
(UPDATE BELOW...) OpenGL Cocoa/OSX Desktop ap targeting 10.8+ I have a situation where I am receiving an NSImage object once per frame and would li ...
I have an NSImage that I would like to save as a PNG, but remove the alpha channel and use 5 bit colour. I am currently doing this to create my PNG: ...
I'm interested in creating an NSImageRep subclass that can hold double precision values. The standard NSBitmapImageRep can hold single precision float ...
I'm experiencing something that seems like a bug: if I create ICO files using the CGImage APIs I get the first rep (256px) with a color profile, while ...
I know how to change the dpi of a NSImageRep, but I can't figure out how to make CGImage APIs reflect this change... Is there a way to make CGImage wr ...
MacOS 10.7.4 comes with new icons having image reps at 144 DPI. The bad thing is that when I load one of these icons in a NSImage I only get reps havi ...
I am trying to write an application which read FITS image. FITS stand for Flexible Image Transport format and it is a format wish is primarily used to ...
I am developing an application to draw and process specific image format not currently supported by the NSimage class. In this specific format, the im ...
I'm trying to create paletted PNG image (8-bit per pixel) that uses RGBA palette (32-bit per palette entry) using Cocoa framework*. I've tried few co ...
I think i'm missing something really basic here. If I do this with a legal URL/path which I know exists: then I get reported to the console that th ...
I have an jpeg image and I want to be able to incrementally compress it using Cocoa/Core Image/Core Graphics. For example, I have A.jpg (3MB), I compr ...
Here's what I've got so far: The code assumes that a 200x200 PNG will be less than 128K, which is my size limit. 200x200 is big enough, but I'd pre ...
I've got a program that can open TIFF documents and display them. I'm using setFlipped:YES. If I'm just dealing with single page image files, I can ...