Re: Re: [Lcms-user] Searching for a way to use tifficc inside a pipe
An ICC-based CMM for color management
Brought to you by:
mm2
From: <att...@we...> - 2001-12-11 12:29:03
|
Hy, thank you for the fast answer! But I'm not a good C-programmer. Is there anybody out here, who=3D20 can do that job for me, assumed it's realy takes just a little=3D20 time.=3D20 Otherwise I have to chose the temp-file way. I have made i test=3D20 with a A3-File. It takes about 6 minutes of precomputing (gs,=3D20 tifficc) before it starts to print. But the results are very=20 good=3D20 ;) Atti Mart=ED=5FMaria <ma...@li...> schrieb am 11.12.01: > Hi, >=20 > After some investigation, I realize pipes cannot be used at all,=20 since > Libtiff does require random access. Sorry, but the temporary > storage seems the only choice. This limitation is given by=20 libtiff > and not by lcms, so, it would be quite possible and probably > easy to write a program doing so on PBM or raw format. >=20 > Marti. >=20 > ----- Original Message ----- > From: "Mart=ED Maria" <ma...@li...> > To: <att...@we...>; <lcm...@li...> > Sent: Tuesday, December 11, 2001 10:33 AM > Subject: Re: [Lcms-user] Searching for a way to use tifficc=20 inside a pipe >=20 >=20 > > > > Hi, > > > > > I need color-correction for preparing a print-job to my > > > inkjet-printer. I think tifficc is the right tool for my. > > > But inside a printer-filter I use pipes like that: > > >.. > > > is there any way to use the tifficc-tool with pipes=3F > > > > I didn't use pipes just because it doesn't work fine on Win32. > > Windozes does force stdin and stdout to be text mode. > > > > You could try to modify source, all file opening stuff is in > > main function, Just replace TIFFOpen(argv[xoptind], "r") by > > TIFFOpen(stdin, "r") and TIFFOpen(argv[xoptind+1], "w") by > > TIFFOpen(stdout, "w"). > > > > Assure also to replace other stdout by stderr if you don't=20 want the > > output pipe to be corrupted when verbose flag is specified. > > > > Unfortunately I cannot add this behaviour to distribution, > > since it would break Win32 port. > > > > Hope this helps, > > Mart=ED Maria > > The little cms project > > http://www.littlecms.com > > ma...@li... > > > > > > > > > > ----- Original Message ----- > > From: <att...@we...> > > To: <lcm...@li...> > > Sent: Monday, December 10, 2001 8:51 PM > > Subject: [Lcms-user] Searching for a way to use tifficc inside=20 a pipe > > > > > > > Hy, > > > > > > I need color-correction for preparing a print-job to my > > > inkjet-printer. I think tifficc is the right tool for my. > > > But inside a printer-filter I use pipes like that: > > > > > > cat > gs ..... | tifficc .... | printerdriver .... > lp0 > > > > > > is there any way to use the tifficc-tool with pipes=3F > > > An other way is to produce temp-files, but to compute a=20 hi-res A3 > > > -Page i think it's not the best way. > > > > > > Thanks to the lcms-Team > > > Atti > > > > > >=20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F > > > Hollywood unterm Weihnachtsbaum + ExtraPraemie bei WEB.DE > > > http://premiere.web.de > > > > > > > > > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > > > Lcms-user mailing list > > > Lcm...@li... > > > https://lists.sourceforge.net/lists/listinfo/lcms-user > > > > > > > > > > > > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > > Lcms-user mailing list > > Lcm...@li... > > https://lists.sourceforge.net/lists/listinfo/lcms-user > > > > > =20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!=20 Beim WEB.DE Lottoservice: http://tippen2.web.de/=3Fx=3D13 |