2005.10.26 10:03 "[Tiff] Why Xresolution, Yresolution, ResolutionUnit coudn't be changed?", by Шебеко Евгений

2005.10.26 15:30 "Re: [Tiff] Why Xresolution, Yresolution, ResolutionUnit coudn't be changed?", by Frank Warmerdam

On 10/26/05, Шебеко Евгений <shebeko@mail.ru> wrote:

Why Xresolution,Yresolution,ResolutionUnit coudn't be changed?

In tag description tags marked as couldn't be changed after write. Why not?

As I understand this parameters don't take a part in libtiff calculations and do not influence to the file consistency. So why it's could not be changed to other values?

It is a real situation while a resolution coudn't be detected during creating the image. But it could be corrected by user for example.

Of course I made changes for myself in tag descriptions.

If there is no reason not to do this, it will be fine if this tag description will be changed in the next libtiff release.


I can't think of any reason why these tags should be immutable in the way that tags like image width and image height are. I would suggest you submit a bug report through bugzilla on this issue.

Best regards,

I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent