|AWARE [SYSTEMS]||Imaging expertise for the Delphi developer|
|TIFF and LibTiff Mailing List Archive|
LibTiff Mailing List
2005.12.15 09:11 "Re: read and write image with same TIFF handle", by Eugene Shebeko
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.