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: <ma...@li...> - 2001-12-11 09:32:53
|
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? 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 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í 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 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? > An other way is to produce temp-files, but to compute a hi-res A3 > -Page i think it's not the best way. > > Thanks to the lcms-Team > Atti > > ______________________________________________________________________________ > Hollywood unterm Weihnachtsbaum + ExtraPraemie bei WEB.DE > http://premiere.web.de > > > _______________________________________________ > Lcms-user mailing list > Lcm...@li... > https://lists.sourceforge.net/lists/listinfo/lcms-user > > |