96/11/13: ultra detailed report on Kodak DC25!

$Id: index.eng.html,v 1.6 1996/11/15 14:32:12 itojun Exp $

NOTICE

The information provided here expresses personal opinion of Jun-ichiro Itoh and ESD. The page does NOT express opinion of employer and other related organizations. Absolutely no warranty. If you do something based on this document, result is on your back.
Japanese version
I borrowed Kodak DC25(Test version), so I make some report on this.

Size and panels

External view:

Size comparison with Casio QV-10. They have almost the same size.

Compact flash memory card for experiment. 10Mbytes card costs 30000yen($300) and adapter costs 2000yen($20). This memory card is SanDisk-compatible (OEM product).

Converting image on the memory card

We UNIX people love to have digital camera that will Therefore, it is important to know the image format it has, before buying.

DC25 saves image file into directory named dc25img.

% ls -lg /memdisk
total 4
drwxr-xr-x  1 root  wheel  4096 Nov 13 23:16 dc25img/
% ls -lg /memdisk/dc25img
total 2140
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0001h.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0002h.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0003h.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0004h.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0005h.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0006h.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0007h.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0008h.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0009h.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0010h.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0011h.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0012h.k25*
-rwxr-xr-x  1 root  wheel   77888 Dec 31  1979 dc0013s.k25*
-rwxr-xr-x  1 root  wheel  140352 Dec 31  1979 dc0014h.k25*
-rwxr-xr-x  1 root  wheel   77888 Dec 31  1979 dc0015s.k25*
-rwxr-xr-x  1 root  wheel   77888 Dec 31  1979 dc0016s.k25*
-rwxr-xr-x  1 root  wheel   77888 Dec 31  1979 dc0017s.k25*
File name for HIGH mode(493x373 in Kodak-supplied tool) is dc0001h.k25, and for STANDARD mode(320x240) is dc0001s.k25. DC25 recognizes 10Mbytes memory card properly.

File format would be as follows:

first 1024 bytes
Header, as follows:
00000000:  4d 4d 00 2a 00 00 00 08 00 1c 00 fe 00 04 00 00  MM.*............
00000010:  00 01 00 00 00 01 01 00 00 03 00 00 00 01 00 50  ...............P
00000020:  00 00 01 01 00 03 00 00 00 01 00 3c 00 00 01 02  ...........<....
00000030:  00 03 00 00 00 03 00 00 01 5e 01 03 00 03 00 00  .........^......
00000040:  00 01 00 01 00 00 01 06 00 03 00 00 00 01 00 02  ................
00000050:  00 00 01 0e 00 02 00 00 00 08 00 00 01 64 01 0f  .............d..
00000060:  00 02 00 00 00 16 00 00 01 6c 01 10 00 02 00 00  .........l......
00000070:  00 1a 00 00 01 82 01 11 00 04 00 00 00 01 00 00  ................
00000080:  04 00 01 12 00 03 00 00 00 01 00 01 00 00 01 15  ................
00000090:  00 03 00 00 00 01 00 03 00 00 01 16 00 03 00 00  ................
000000a0:  00 01 00 3c 00 00 01 17 00 04 00 00 00 01 00 00  ...<............
000000b0:  38 40 01 1a 00 05 00 00 00 01 00 00 01 9c 01 1b  8@..............
000000c0:  00 05 00 00 00 01 00 00 01 a4 01 1c 00 03 00 00  ................
000000d0:  00 01 00 01 00 00 01 28 00 03 00 00 00 01 00 02  .......(........
000000e0:  00 00 01 31 00 02 00 00 00 12 00 00 01 ac 01 32  ...1...........2
000000f0:  00 02 00 00 00 14 00 00 01 be 01 4a 00 04 00 00  ...........J....
00000100:  00 01 00 00 02 10 82 98 00 02 00 00 00 21 00 00  .............!..
00000110:  01 d2 82 9d 00 05 00 00 00 01 00 00 01 f4 90 03  ................
00000120:  00 02 00 00 00 14 00 00 01 fc 92 09 00 03 00 00  ................
00000130:  00 01 00 10 00 00 92 11 00 03 00 00 00 01 00 01  ................
						     ^^^^^picture#
00000140:  00 00 92 16 00 01 00 00 00 04 01 00 00 00 92 17  ................
00000150:  00 03 00 00 00 01 00 02 00 00 00 00 00 00 00 08  ................
00000160:  00 08 00 08 44 43 30 30 30 31 48 00 45 61 73 74  ....DC0001H.East
00000170:  6d 61 6e 20 4b 6f 64 61 6b 20 43 6f 6d 70 61 6e  man Kodak Compan
00000180:  79 00 4b 4f 44 41 4b 20 44 43 32 35 20 44 49 47  y.KODAK DC25 DIG
00000190:  49 54 41 4c 20 43 41 4d 45 52 41 00 00 00 00 48  ITAL CAMERA....H
000001a0:  00 00 00 01 00 00 00 48 00 00 00 01 44 43 32 35  .......H....DC25
000001b0:  20 43 61 6d 65 72 61 20 56 31 2e 31 00 00 30 30   Camera V1.1..00
000001c0:  30 30 3a 30 30 3a 30 30 20 30 30 3a 30 30 3a 30  00:00:00 00:00:0
000001d0:  30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  0...............
000001e0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000001f0:  00 00 00 00 00 00 00 28 00 00 00 0a 30 30 30 30  .......(....0000
00000200:  3a 30 30 3a 30 30 20 30 30 3a 30 30 3a 30 30 00  :00:00 00:00:00.
00000210:  00 11 00 fe 00 04 00 00 00 01 00 00 00 00 01 00  ................
00000220:  00 03 00 00 00 01 01 ed 00 00 01 01 00 03 00 00  ................
			     ^^^^^x axis size (493)
00000230:  00 01 01 75 00 00 01 02 00 03 00 00 00 01 00 08  ...u............
		 ^^^^^y axis size(373)
00000240:  00 00 01 03 00 03 00 00 00 01 00 01 00 00 01 06  ................
00000250:  00 03 00 00 00 01 80 23 00 00 01 11 00 04 00 00  .......#........
00000260:  00 01 00 00 3c 40 01 12 00 03 00 00 00 01 00 01  ....<@..........
00000270:  00 00 01 15 00 03 00 00 00 01 00 01 00 00 01 16  ................
00000280:  00 03 00 00 00 01 01 75 00 00 01 17 00 04 00 00  .......u........
			     ^^^^^y axis size(373)
00000290:  00 01 00 01 e8 00 01 1a 00 05 00 00 00 01 00 00  ................
		       ^^unknown, differs by mode
000002a0:  02 e2 01 1b 00 05 00 00 00 01 00 00 02 ea 01 1c  ................
000002b0:  00 03 00 00 00 01 00 01 00 00 01 28 00 03 00 00  ...........(....
000002c0:  00 01 00 02 00 00 82 8d 00 03 00 00 00 02 00 02  ................
000002d0:  00 04 82 8e 00 01 00 00 00 08 00 00 02 f2 00 00  ................
000002e0:  00 00 00 00 00 48 00 00 00 01 00 00 00 48 00 00  .....H.......H..
000002f0:  00 01 01 04 05 03 04 01 03 05 00 00 00 00 00 00  ................
00000300:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000310:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000320:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000330:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000340:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000350:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000360:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000370:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000380:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000390:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000003a0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000003b0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000003c0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000003d0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000003e0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000003f0:  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
You can see date string and some other items.
from 1024byte to a-1 byte
Holds 80x60x3 bytes thumbnail (RGB format). To extract this part, this perl script will help you. It is quite trivial.
a byte from the end of the file
Value of a is 15936 in HIGH mode, and 15680 in STANDARD mode. (the value of a is a simple guess. They may not be correct...) It holds CCD data, in Ye/Cy/Mg/G format. Detailed story about this can be found in DC20 tech info page, such as here and here. HIGH mode file holds 512x243 pixels (256x121 units of 2x2 pixel unit), and STANDARD mode file holds 256x243 pixels (128x121 units of 2x2 pixel unit). To extract this part, this C source code will help you. You will need to modify aspect ratio into 4:3.
Conversion procedure would be as follows:
extract thumbnail
perl k25getthumb.pl < dc0001h.k25 | cjpeg > dc0001h.thumb.jpg
perl k25getthumb.pl < dc0001s.k25 | cjpeg > dc0001s.thumb.jpg
extract main content
k25toppm < dc0001h.k25 | pnmscale -xsize 500 -ysize 375 | cjpeg > dc0001h.jpg
k25toppm < dc0001s.k25 | pnmscale -xsize 321 -ysize 241 | cjpeg > dc0001s.jpg
As a result, you can get the following pictures:
NOTE: please note that, the picture quality is NOT the same as Kodak-made tool. Also, the body used here is not product-release version. It is not fair to evaluate DC25's picture quality, by the output attached here.
source file (HIGH)
dc0001h.k25 dc0002h.k25 dc0003h.k25 dc0004h.k25 dc0005h.k25 dc0006h.k25 dc0007h.k25 dc0008h.k25 dc0009h.k25 dc0010h.k25 dc0011h.k25 dc0012h.k25 dc0014h.k25
source file (STANDARD)
dc0013s.k25 dc0017s.k25
result (HIGH)
result (STANDARD)
You can find some picts extracted by Kodak-made tool at ESD 11/9 meeting page.

Conclusion

I think DC25 is so cute. It's compact, easy-to-use, good for UNIX-based people too. I think it is good for you too.

You can find some related link from this page.


itojun hack ESD Saturday meeting Wednesday meeting Yobichosa bookshelf comics
1995: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
1996: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
1997: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
1998: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
1999: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2000: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2001: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2002: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2003: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2004: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2005: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2006: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2007: Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec

diary update scanner 1 2 3 4
places I frequently visit: Altavista PCWatch comics LPF bookmarks Free Mr.Kaneko! / voice your concern on manga regulation! Amazon.co.jp associate PSE法反対! [六ヶ所村問題] [software patent] [共謀法反対]
Unauthorized reproduction is strictly prohibited unless specially noted. If you have problem reading the text (KSC5601 with ctext/iso-2022-jp-2 encoding) use w3m-m17n or mozilla.
Google