Re: image arithmetic

2010-11-10 Thread jonat...@mugginsoft.com
On 10 Nov 2010, at 14:00, Amy Gibbs wrote: > Hi all, > > that fixes my null issue, thanks, I can't believe I didn't see that. > > I still can't work out how to get the original height and width of my image > though, I'm trawling through google searches for nsimage and size etc but > nothing

Re: image arithmetic

2010-11-10 Thread Amy Gibbs
Hi all, that fixes my null issue, thanks, I can't believe I didn't see that. I still can't work out how to get the original height and width of my image though, I'm trawling through google searches for nsimage and size etc but nothing seems to work I get various error messages, while ((im

Re: image arithmetic

2010-11-10 Thread Sherm Pendley
On Wed, Nov 10, 2010 at 8:35 AM, Amy Gibbs wrote: > >        //calc image width >        float width = 300 / ki; >        NSLog(@"Width: %@",width); Width isn't an object. Use %f to print a float. sherm-- -- Cocoa programming in Perl: http://camelbones.sourceforge.net _

image arithmetic

2010-11-10 Thread Amy Gibbs
Hi, I can't quite get my head around obj-c sometimes, so i was just wondering if anyone could point me in the right direction. I've got a fairly simple coredata app that I code and use to keep track of some work stuff (I run my own business), and it automatically generates composite image