2005.12.13 18:20 "[Tiff] read and write image with same TIFF handle", by Шебеко Евгений

2005.12.15 09:11 "Re: [Tiff] read and write image with same TIFF handle", by Шебеко Евгений

I make switcing between coder and decoder mode in codec. Seems it's work.

But now I'm not sure that it is right way to solve this problem. Maybe better solution is not swith befor coder and decoder mode, but keep it separated, just coder and decoder?

So I don't make a report in bugreport, just make attach to this letter. If you found useful this way you may use patch.

Also some problem with JPEG coder.

First it some strange string in JPEG coder (you may see it in patch) and I not sure that it should be in this place.

Second, coder should be reviewed. I think it not correct use JPEG parameters that already contains in TIFF directory.

I not understand JPEG compression details, but.

Wnen coder is initialized it use pseudo tags too init. (build JPEG tables maybe), but directory may already contain JPEG tables, or other JPEG parameters.

By the simple world, I expect that JPEG coder initializated with existing parameters, not pseudo tags.