Error on -(void)setThumbnailDataFromImage method


#1

I get an error from the method “-(void)setThumbnailDataFromImage”, it’s on this part:

// how do we scale the image? float ratio = MAX(newRect.size.width/origImageSize.width, newRect.size.height/origImageSize.height);

Error is: Initializing ‘float’ with an expression of incompatible type ‘void’

What am i doing wrong? Thanks guys!

damien