Re: Image manipulation in 10.8

2013-01-05 Thread Amy Gibbs
It looks like the issue may be the [img drawInRect:NSMakeRect(x,y,xb,yb) fromRect:NSMakeRect(0,0,0,0) operation:NSCompositeCopy fraction:1]; should be [img drawInRect:NSMakeRect(x,y,xb,yb) fromRect:NSMakeRect(0,0,0,0) operation:NSCompositeSourceOver fraction:1]; I'm trying to check that some i

Re: Image manipulation in 10.8

2013-01-05 Thread Amy Gibbs
Thanks for this, I've had a look and it looks like quite a lot changed in and after 10.6, it's probably best to rewrite that section completely. I'm a bit of a beginner so looking for a tutorial for image manipulation. I googled it and got to this page in the developer library but it hasn't been

Re: Image manipulation in 10.8

2013-01-05 Thread Ken Thomases
On Jan 5, 2013, at 2:44 AM, Amy Gibbs wrote: > i've got a section of code that worked perfectly in 10.5. It doesn't in 10.8 > and I can't see why. It's not too complicated, it basically takes a selection > of images and combines them into a single image and saves it to a couple of > locations.

Re: Image manipulation in 10.8

2013-01-05 Thread Amy Gibbs
Sorry, I had to reduce the length of the email to post it and deleted the key info! It doesn't place the images on the canvas. Imagine a grid, and this should put an image in each box, and it worked fine in 10.5, now the images are mainly white with just one image in one of the grid boxes ( the

Re: Image manipulation in 10.8

2013-01-05 Thread Roland King
Well for a start, in what does doesn't it work? Doesn't write a file, writes a zero-length file, writes an image file which is invalid, blank, what? On 5 Jan, 2013, at 4:44 PM, Amy Gibbs wrote: > Hi, > i've got a section of code that worked perfectly in 10.5. It doesn't in 10.8 > and I can't

Image manipulation in 10.8

2013-01-05 Thread Amy Gibbs
Hi, i've got a section of code that worked perfectly in 10.5. It doesn't in 10.8 and I can't see why. It's not too complicated, it basically takes a selection of images and combines them into a single image and saves it to a couple of locations. Can anyone point out the problem to me please? Man