Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!ucsd!ucsdhub!hp-sdd!tony From: tony@hp-sdd.hp.com (Tony Parkhurst) Newsgroups: comp.graphics Subject: Re: DPaint II vs HAM vs ILBM Message-ID: <2891@hp-sdd.hp.com> Date: 2 Dec 89 00:26:41 GMT References: <8912011549.AA03210@procyon.cis.ohio-state.edu> Reply-To: tony@hp-sdd.UUCP (Tony Parkhurst) Organization: Hewlett Packard, San Diego Lines: 29 In article <8912011549.AA03210@procyon.cis.ohio-state.edu> dnwiebe@CIS.OHIO-STATE.EDU (Dan N Wiebe) writes: > I've got some .GIF images I'm interested in converting into a format >compatible with DeluxePaint II (MS-DOS) for a friend so that she can edit them. >Saved DPaint II files have an extension of .LBM; therefore, I thought perhaps >their format was ILBM. I used PBMPLUS to convert the 256-color .GIFs to >ILBM format (no problems, except that ppmtoilbm told me it was creating a HAM >file because my picture had more than 32 colors) and shipped them over to my Right concept, but apparently PBMPLUS does not handle 8 bit ILBM images. DeluxePaintII on MeSsyDOS uses both ILBM files, or for 8 bit (256 color) files, the files are PBM (not as in "PBMPLUS"). Both are a form of IFF files, but ILBM is stored by plane, while PBM is stored by pixel. The problem is that PBMPLUS assumes that when you want an ILBM file, it is to be Amiga compatible, and to get more than 32 colors, it must create a HAM image which is 6 planes, but specific to the Amiga hardware. So, DeluxePaintII is seeing the 6 planes, and colors defined for the first 16 colors, and defaults the rest. You cannot get the picture right simply by adjusting the colors for the remaining 48 values simply because the the bizzareness involved. Only pixels using the first 16 colors will be right. -- Tony -- Tony Parkhurst ( tony@hp-sdd.HP.COM ) "Is this Hell? Or is this Texas?" "Both" -- Heinlein, _J_O_B: _A _C_o_m_e_d_y _o_f _J_u_s_t_i_c_e Brought to you by Super Global Mega Corp .com