screengrab image size

hi

using code from

http://forum.openframeworks.cc/t/screen-grab-on-iphone/4228/0

void testApp::touchDown(ofTouchEventArgs &touch){

if (touch.x>0 && touch.x<50 && touch.y>0 && touch.y<50){
ofxiPhoneAppDelegate * delegate = ofxiPhoneGetAppDelegate();
ofxiPhoneScreenGrab(delegate);
}

works fine but creates image 800*533px

is it possible to tell this to resize to actual screen size?

Mark

on further net trawling

the saved file _is_ 480*320

but emailing it creates 800*533 version

  • the saved 480*320 file is full of compression artifacts

is it possible to save as uncompressed png?

is it possible for email client not to screw image up?

?

thanks

Mark