2006.07.10 12:15 "[Tiff] How modify", by

2006.07.10 13:03 "Re: [Tiff] How modify", by Joris Van Damme

Robert Zhang wrote:

> do u have a good idea for modifing tiff's XResolution and > YResolution.

Well, essentially, use LibTiff to decode the file to a raster or

scanline stream or whatever, add resizing from your own hand or from another library, and use LibTiff again to encode the results to a new TIFF file.

What I mean is, reading the reply, and indicate what part of it you don't understand, is more useful then asking your same question again, to which I can really only reply my original answer. Nietzsche said that one should not ever respond in such a way that one is not willing to repeat indefinitely given the same stimuli, and Nietzsche didn't have a clipboard to streamline that process so I can follow his advice with greater ease then he ever thought possible. ;-)

What is it with you youngsters, anyway... You think that reiterating the same question over and over, in the end someone will be silly so as to sling a code snippet your way that easily fits your clipboard? Turn off your no-thinking-until-source-snippet-detection mode! Start writing 'you' instead of 'u', use capitals where appropriate, and apply good quoting style instead of top-posting (http://en.wikipedia.org/wiki/Top-posting) as that'll force you to read before asking your same question again. Use descriptive subject lines. Consider the fact that despite your quoting style, someone might actually read, and try make it easy on him as you may expect him to return that favor. If you're a kid, at least try and pretend to be a grown-up, like we did when we were young. Not that we ever were young though - of course not! ;-)

Joris Van Damme
Download your free TIFF tag viewer for windows here: