On 11/02/2012, at 7:46 AM, Chris Paveglio wrote:
> for (column = 0; column {
> //get pixel value from grey and put into 1bit
> [imgRep getPixel:&lePixel atX:row y:column];
> [newRep setPixel:&lePixel atX:row y:column];
> }
> //FYI this is not an all purpose solution, this will ONLY work with gre
els; row++)
for (column = 0; column
To: Chris Paveglio
Cc: Cocoa Dev List
Sent: Thursday, February 9, 2012 5:43 PM
Subject: Re: drawing 1 bit images, and image resolution
On 10/02/2012, at 3:54 AM, Chris Paveglio wrote:
still looking for a way to convert to 1-bit.
So what have you tried?
The
I have been able to change the library to output Greyscale images now. It
required less work than I had thought.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mod
Let's work on this today and see what we get. I've got meetings for the next 3
hours, but am free to try and help after that.
Feel free to email me in 3 hours.
Cool?
- Alex Zavatone
On Feb 10, 2012, at 11:15 AM, Chris Paveglio wrote:
> What I'm working with is a library that makes a QR code.
st int rawDataSize = widthInPixels * heightInPixels;
unsigned char *rawData = (unsigned char*)malloc(rawDataSize);
NSUInteger lePixel;
for (row = 0; row < heightInPixels; row++)
for (column = 0; column
To: Chris Paveglio
Cc: Cocoa Dev List
Sent: Thursday, February 9, 2012 5:43 PM
Subject: Re: d
On 10/02/2012, at 3:54 AM, Chris Paveglio wrote:
> still looking for a way to convert to 1-bit.
So what have you tried?
There are a lot of different methods for deciding how to threshold an image -
in other words how to decide which colours end up as 1s and which as 0s. You
will probably fin
ot;z...@mac.com"
To: Chris Paveglio ; Cocoa Dev List
Cc:
Sent: Wednesday, February 8, 2012 12:53 PM
Subject: Re: drawing 1 bit images, and image resolution
I know this is somewhat lame, but could you use sips from a shell call to
convert your saved image to a tiff and delete the original?
2012
07:26:24
To: Cocoa Dev List
Reply-to: Chris Paveglio
Subject: drawing 1 bit images, and image resolution
I need to save an NSImage as a TIFF file, as a 1-bit (black and white) image,
and at a specific resolution (dpi). I have my NSImage being created in RGB
mode, and I can save it (as RGB
I need to save an NSImage as a TIFF file, as a 1-bit (black and white) image,
and at a specific resolution (dpi). I have my NSImage being created in RGB
mode, and I can save it (as RGB).
I've been trying to read the other posts on 1-bit images, but I don't
understand things like "you'll have to
When retrieving an image from the iPad's rear camera, I remember there being an
API that would allow you to select from a number of resolutions, ranging from
thumbnail up to native. Where would I find this information? I'm trying to find
out, among other things, if the iPad can return a 640x480
On Oct 18, 2010, at 04:37, Amy Heavey wrote:
> The source images are not generated by us, they are from a variety of surces,
> and are generally 200pixels + on each side, however sometimes they are 72
> dpi, and sometimes they are 300dpi. Even if an aimage is 450pixels square,
> when it is set
Hi,
I've got an app that generates composite images, so it places images
onto a single canvas and saves that as a new image. It's working fine,
but I'm struggling with the resolutions/representations issue.
The source images are not generated by us, they are from a variety of
surces, and
Le 5 août 08 à 19:48, Frederick Bartram a écrit :
I am having difficulty understanding the issues involved in image
drawing speed.
I have a large, ~10K x 10K image in a scrolling view. The image is
loaded as a PNG file into an NSImageView from a nib. I am getting
large differences in the
I am having difficulty understanding the issues involved in image
drawing speed.
I have a large, ~10K x 10K image in a scrolling view. The image is
loaded as a PNG file into an NSImageView from a nib. I am getting
large differences in the image drawing speed that I do not understand.
The
14 matches
Mail list logo