tiff tags

James Hu jhu at metrigenix.com
Thu Nov 10 11:10:29 EST 2005


 Hi,

 

Is any way to write more tags to tiff file when saved from:

 

im= Image.fromstring("I", datasize, newbuftemp, 'raw', 'I;16')

im.save("myfile.tif")

 

the tag are: 

256=(640,)

257=(512,)

258=(16,)

259=(1,)

262=(1,)

273=(110,)

278=(512,)

279=(4, '\x00\x00\n\x00')

 

But there are more: how can I write the following tags?

 

296=(1,)

266=(1,)

339=(1,)

282=((1073741824, 1073741824),)

283=((1073741824, 1073741824),)

284=(1,)

305=(2, ...)

269=(2, ...)

274=(3, '\x01\x00')

277=(3, '\x01\x00')

 

Thanks a lot!

 

James

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20051110/657be366/attachment.html>


More information about the Python-list mailing list