Article View: fj.sys.mac
Article #62765Re: Wanted ! information about Kodak Photo CD
From: Hiroshi Yamazaki
Date: Sun, 31 Jan 1993 11:59
Date: Sun, 31 Jan 1993 11:59
100 lines
4643 bytes
4643 bytes
In article <SATO.93Jan31024227@atlas.rc.m-kasei.co.jp> sato@atlas.rc.m-kasei.co.jp (Nobuyuki SATO) writes: > $@%3%@%C%/$N(J photo CD $@$K4X$9$k5;=Q>pJs$rF~<j$7$?$$$H;W$C$F$$$^$9!#(J > > $@!V(JXXX $@$H$$$&;(;o$N(J XX $@7n9f$KFC=85-;v$,$G$F$$$k$h!#!W$H$+(J > > $@!V(JXXX $@$H$$$&K\$,=PHG$5$l$F$$$k!#!W$H$+(J > > $@$I$s$J>pJs$G$b7k9=$G$9$N$G!"65$($F2<$5$$!#(J $@$d$^$6$-!w#P#R#U#G$H?=$7$^$9!#(J Photo-CD$@<+BN$O!"%f%K%^%,(J '92.12$@$+$iO":\$5$l$F$$$k!I#C#D!]#R#O#M$OAGE(!I(J $@$d!"7n4)%"%9%-!<(J '93.01$@$N!I#C#D!]#R#O#M$N@$3&!I$K$h$j$^$9$H!"(J $@!!#C#D!]#R!J=q$-9~$_2DG=$J#C#D!]#R#O#M!K$N$&$A!"DI5-7?$G=q$-49$($,$G$-(J $@!!$J$$#C#D!]#W#O%^%k%A%;%C%7%g%s$r%Y!<%9$H$7$F!"%3%@%C%/$H%U%#%j%C%W%9(J $@!!$,3+H/$7$?@E;_2hA|$N:F@85,3J$G$"$k!#(J $@$H$$$&$h$&$J$3$H$,=q$$$F$"$j$^$9!#(J $@!t#M#A#C4XO"$OD4$Y$F$$$^$;$s!#>\$7$$J}!9$+$i$N%U%)%m!<$r$*4j$$CW$7$^$9!#(J PhotoCD$@$O!"0J>e$N$3$H$+$i!"(JISO9660$@%U%)!<%^%C%H$H$7$FFI$_$@$;$k!"$D$^$j(J NEWS$@$d(JSUN$@$N(JCD-ROM$@%I%i%$%V$K$+$1$F(Jmount -t cdfs $@$H$7$F!"IaDL$N%U%!%$%k(J $@$H$7$FFI$_$@$;$k$H;W$$$^$9!#$?$@$7!"%^%k%A%;%C%7%g%s$r%5%]!<%H$7$F$$$J(J $@$$(JCD-ROM Drive$@$G$O!"#12sL\$N=q$-9~$_J,$7$+FI$_$@$;$J$$$h$&$G$9!#(J $@!t;d$b#1Kg:n$C$F$_$h$&$+$H9M$($F$$$^$9$,!"$^$H$b$J%M%,$,<j85$K$"$j$^$;(J $@!t$s(J(^^;) $@$"$H!">e5-$NJ}K!$G%^%&%s%H$7$?$&$($G!"(JPhotoCD$@$rFI$_$@$7!"I=<($7$?$$$H(J $@$$$&$N$G$"$l$P!"(Jalt.sources$@!J$@$C$?$+$J!K$K$3$s$J$N$,N.$l$F$$$^$7$?!#(J hpcdtoppm.0.3 README$@$h$j(J --- cut here --- cut here --- This is Version 0.3 of hpcdtoppm, Hadmut's pcd to ppm converter. It has this name to be distinguishable in case someone else is producing a program also called pcdtoppm. Read the README.TOO ! This program converts Photo-CD-Images to the ppm-Format of pbmplus. You can compile the program in two ways: 1. Use its own ppm-writing-routines. In this case you don't need ppm-includes or libraries. You have to define macro 'OWN_WRITE' in the source or by compiler-option. I am not sure, whether the format of the ppm-header is the same on non-unix machines. If you get problems with line-endings (things like CR, LF, CR/LF), modify the macro PPM_Header. 2. You can use the trusted pbmplus-routines. In this case you need some files from the pbmplus package to compile: ppm.h pgm.h pbm.h pbmplus.h libppm.a libpgm.a libpbm.a IMPORTANT: Some older versions of the gcc have problems with optimization. They produce buggy code. This code will not die with 'segmentation fault' or something like that, it just produces damaged images. I did not have detailed information of the file-format and i could test it only with a single Photo-CD with 24 Images. Most of my information i got by starring at the hex-dumps of an image file. So i am not absolutly sure, whether it works on all Photo-CDs, because there are some bytes in the header which i don't understand. But it works on my Photo-CD. Note that you will get a 24 bit image. You can view these files with xv, but if you have an 8-bit-screen you will sometimes have some color-defects (if you have an 1-bit-screen you will often have a lot of color-defects :-). It will also take some time to show with xv. You can produce nice overview prints if you get the icontact program of Mark B. Hanson and put something like decode pcd hpcdtoppm -1 -a in your ~/.icrc . If you compile the program on a machine other than SPARC please send me a short email which machine you are using, whether you had problems or which changes you have made. Hadmut (danisch@ira.uka.de) --- cut here --- cut here --- -- $B;3:j!!9@(J yamazaki@jr7hov.prug.or.jp
Technical Details
Message-ID:
<YAMAZAKI.93Jan31205938@jr7hov.jr7hov.prug.or.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!seas.smu.edu!convex!convex!darwin.sura.net!spool.mu.edu!agate!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!glocom!tyo-noc-news!jh1ynw!jg7gxq!jr7hov!yamazakiReferences:
<SATO.93Jan31024227@atlas.rc.m-kasei.co.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: f514d,c47719a83fea7625 X-Google-Attributes: gidf514d,public X-Google-ArrivalTime: 1993-01-31 03:59:38 PST Path: arc1-ca.pugleaf.net!sparky!uunet!seas.smu.edu!convex!convex!darwin.sura.net!spool.mu.edu!agate!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!glocom!tyo-noc-news!jh1ynw!jg7gxq!jr7hov!yamazaki From: yamazaki@jr7hov.prug.or.jp (Hiroshi Yamazaki) Newsgroups: fj.sys.mac Subject: Re: Wanted ! information about Kodak Photo CD Message-ID: <YAMAZAKI.93Jan31205938@jr7hov.jr7hov.prug.or.jp> Date: 31 Jan 93 11:59:38 GMT References: <SATO.93Jan31024227@atlas.rc.m-kasei.co.jp> Sender: yamazaki@jr7hov.prug.or.jp (Hiroshi Yamazaki) Followup-To: fj.sys.mac Distribution: fj Organization: Personal Site of JR7HOV (PRUG) Lines: 100 In-Reply-To: sato@atlas.rc.m-kasei.co.jp's message of 30 Jan 93 17:42:27 GMT