
Thread
2004.11.18 22:30 "Re: [Tiff] Using TIFFGetField to get a "Rational"", by Joris Van Damme
Bon soir Eric,
Yes, here it is:
case TIFFTAG_XRESOLUTION:
*va_arg(ap, float*) = td->td_xresolution;
break;
case TIFFTAG_YRESOLUTION:
*va_arg(ap, float*) = td->td_yresolution;
break;So you should pass a float* to TIFFGetField.
Very usefull. Please consider posting it to the list, instead of posting it only to my private e-mail address. You can do this by either
- hitting 'reply all' instead of 'reply', on a message, if your mail client is Outlook or similar
- or by manually making sure tiff@remotesensing.org is in the 'To' list.
Otherwise, your usefull remark is just wasted.
Thanks,
Joris