I am trying to use the Image Capture API to grab pictures from a camera. The header file mentions a kRotateImage flag and a rotationAngle parameter for the ICADownloadFile function. I cannot get this to work however. The API seems just to ignore my requests. Anyone know if this is a known problem or if I am doing something wrong?
Here is a snippet from my program:
ICADownloadFilePB pb = {};
pb.object = [[picInfo objectForKey:@"icao"] longValue];
pb.dirFSRef = &downloadFolderFSRef;
pb.rotationAngle = FloatToFixed(90.0); // edit
pb.flags = kAdjustCreationDate | kRotateImage;
ICADownloadFile(&pb, getDownloadCallback);