HexDump of PHOTOSHP.TXT
00000000: 0d 0a 41 64 6f 62 65 20 - 50 68 6f 74 6f 73 68 6f ..Adobe. Photosho
00000010: 70 5f 20 32 2e 35 20 46 - 69 6c 65 20 46 6f 72 6d p..2.5.F ile.Form
00000020: 61 74 0d 0a 0d 0a a8 31 - 39 39 32 20 54 68 6f 6d at.....1 992.Thom
00000030: 61 73 20 4b 6e 6f 6c 6c - 0d 0a a8 31 39 39 33 20 as.Knoll ...1993.
00000040: 41 64 6f 62 65 20 53 79 - 73 74 65 6d 73 2c 20 49 Adobe.Sy stems..I
00000050: 6e 63 2e 0d 0a 0d 0a 50 - 68 6f 74 6f 73 68 6f 70 nc.....P hotoshop
00000060: 20 32 2e 35 20 66 6f 72 - 6d 61 74 20 77 61 73 20 .2.5.for mat.was.
00000070: 64 65 73 69 67 6e 65 64 - 20 74 6f 20 62 65 20 66 designed .to.be.f
00000080: 61 73 74 20 61 6e 64 20 - 65 61 73 79 20 74 6f 20 ast.and. easy.to.
00000090: 72 65 61 64 20 61 6e 64 - 20 0d 0a 77 72 69 74 65 read.and ...write
000000a0: 2c 20 77 68 69 6c 65 20 - 73 6f 6c 76 69 6e 67 20 ..while. solving.
000000b0: 61 20 63 6f 75 70 6c 65 - 20 6f 66 20 70 72 6f 62 a.couple .of.prob
000000c0: 6c 65 6d 73 20 77 69 74 - 68 20 50 68 6f 74 6f 73 lems.wit h.Photos
000000d0: 68 6f 70 20 32 2e 30 20 - 66 6f 72 6d 61 74 3a 0d hop.2.0. format..
000000e0: 0a 0d 0a 28 31 29 20 49 - 74 20 69 73 20 64 61 74 ....1..I t.is.dat
000000f0: 61 20 66 6f 72 6b 20 6f - 6e 6c 79 2c 20 74 68 75 a.fork.o nly..thu
00000100: 73 20 63 72 6f 73 73 2d - 70 6c 61 74 66 6f 72 6d s.cross. platform
00000110: 2e 0d 0a 0d 0a 28 32 29 - 20 49 74 20 75 73 65 73 ......2. .It.uses
00000120: 20 6f 70 74 69 6f 6e 61 - 6c 20 52 4c 45 20 63 6f .optiona l.RLE.co
00000130: 6d 70 72 65 73 73 69 6f - 6e 2c 20 73 6f 20 73 69 mpressio n..so.si
00000140: 6d 70 6c 65 20 69 6d 61 - 67 65 73 20 61 6e 64 20 mple.ima ges.and.
00000150: 6d 61 73 6b 20 63 68 61 - 6e 6e 65 6c 73 20 63 61 mask.cha nnels.ca
00000160: 6e 20 0d 0a 62 65 20 73 - 61 76 65 64 20 6d 75 63 n...be.s aved.muc
00000170: 68 20 6d 6f 72 65 20 63 - 6f 6d 70 61 63 74 6c 79 h.more.c ompactly
00000180: 2e 0d 0a 0d 0a 54 68 65 - 20 4d 61 63 69 6e 74 6f .....The .Macinto
00000190: 73 68 20 66 69 6c 65 20 - 74 79 70 65 20 63 6f 64 sh.file. type.cod
000001a0: 65 20 69 73 20 27 38 42 - 50 53 27 2e 20 54 68 65 e.is..8B PS...The
000001b0: 20 44 4f 53 20 65 78 74 - 65 6e 73 69 6f 6e 20 69 .DOS.ext ension.i
000001c0: 73 20 27 2e 50 53 44 27 - 2e 20 20 41 6c 6c 20 0d s...PSD. ...All..
000001d0: 0a 69 6e 66 6f 72 6d 61 - 74 69 6f 6e 20 69 73 20 .informa tion.is.
000001e0: 73 74 6f 72 65 64 20 69 - 6e 20 62 69 67 2d 65 6e stored.i n.big.en
000001f0: 64 69 61 6e 20 62 79 74 - 65 20 6f 72 64 65 72 2c dian.byt e.order.
00000200: 20 73 6f 20 6c 69 74 74 - 6c 65 2d 65 6e 64 69 61 .so.litt le.endia
00000210: 6e 20 6d 61 63 68 69 6e - 65 73 20 0d 0a 77 69 6c n.machin es...wil
00000220: 6c 20 68 61 76 65 20 74 - 6f 20 73 77 61 70 20 62 l.have.t o.swap.b
00000230: 79 74 65 73 20 77 68 65 - 6e 20 72 65 61 64 69 6e ytes.whe n.readin
00000240: 67 20 61 6e 64 20 77 72 - 69 74 69 6e 67 2e 0d 0a g.and.wr iting...
00000250: 0d 0a 54 68 65 20 66 6f - 6c 6c 6f 77 69 6e 67 20 ..The.fo llowing.
00000260: 73 65 63 74 69 6f 6e 73 - 20 64 65 73 63 72 69 62 sections .describ
00000270: 65 20 74 68 65 20 69 6e - 66 6f 72 6d 61 74 69 6f e.the.in formatio
00000280: 6e 20 73 74 6f 72 65 64 - 20 69 6e 20 74 68 65 20 n.stored .in.the.
00000290: 66 69 6c 65 27 73 20 64 - 61 74 61 20 0d 0a 66 6f file.s.d ata...fo
000002a0: 72 6b 2c 20 69 6e 20 6f - 72 64 65 72 2e 0d 0a 0d rk..in.o rder....
000002b0: 0a 31 2e 20 20 53 69 67 - 6e 61 74 75 72 65 20 20 .1...Sig nature..
000002c0: 28 34 20 62 79 74 65 73 - 29 0d 0a 0d 0a 41 6c 77 .4.bytes .....Alw
000002d0: 61 79 73 20 65 71 75 61 - 6c 20 74 6f 20 27 38 42 ays.equa l.to..8B
000002e0: 50 53 27 20 66 6f 72 20 - 74 68 69 73 20 66 6f 72 PS..for. this.for
000002f0: 6d 61 74 2e 20 20 44 6f - 20 6e 6f 74 20 74 72 79 mat...Do .not.try
00000300: 20 74 6f 20 72 65 61 64 - 20 74 68 65 20 66 69 6c .to.read .the.fil
00000310: 65 20 69 66 20 0d 0a 74 - 68 65 20 73 69 67 6e 61 e.if...t he.signa
00000320: 74 75 72 65 20 64 6f 65 - 73 20 6e 6f 74 20 6d 61 ture.doe s.not.ma
00000330: 74 63 68 20 74 68 69 73 - 20 76 61 6c 75 65 2e 0d tch.this .value..
00000340: 0a 0d 0a 32 2e 20 20 56 - 65 72 73 69 6f 6e 20 20 ...2...V ersion..
00000350: 28 32 20 62 79 74 65 73 - 29 0d 0a 0d 0a 41 6c 77 .2.bytes .....Alw
00000360: 61 79 73 20 65 71 75 61 - 6c 20 74 6f 20 31 20 66 ays.equa l.to.1.f
00000370: 6f 72 20 74 68 69 73 20 - 66 6f 72 6d 61 74 2e 20 or.this. format..
00000380: 20 44 6f 20 6e 6f 74 20 - 74 72 79 20 74 6f 20 72 .Do.not. try.to.r
00000390: 65 61 64 20 74 68 65 20 - 66 69 6c 65 20 69 66 20 ead.the. file.if.
000003a0: 74 68 65 20 0d 0a 76 65 - 72 73 69 6f 6e 20 6e 75 the...ve rsion.nu
000003b0: 6d 62 65 72 20 64 6f 65 - 73 20 6e 6f 74 20 6d 61 mber.doe s.not.ma
000003c0: 74 63 68 20 74 68 69 73 - 20 76 61 6c 75 65 2e 0d tch.this .value..
000003d0: 0a 0d 0a 33 2e 20 20 52 - 65 73 65 72 76 65 64 20 ...3...R eserved.
000003e0: 20 28 36 20 62 79 74 65 - 73 29 0d 0a 0d 0a 52 65 ..6.byte s.....Re
000003f0: 61 64 65 72 73 20 73 68 - 6f 75 6c 64 20 69 67 6e aders.sh ould.ign