[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows BMP to Hires BIN



Jon Bettencourt writes ...
> 
> < snip a bunch of text from a bunch of posts >
> 
> Look, all I want is to convert a monochrome BMP to a Hi-Res binary file. I
> don't want to go through getting a IIgs emulator and downloading all these
> disk images and converting the file a million times. I just want to
> convert the file once-and-for-all.
> 

     Evidently, there has never been a big demand for converting PC .bmp to A2
hires. I do not recall either a PC or 8-bit A2 program which will do it.

     As you suggested, B&W .bmp does seem to be mapped as simple 1 and 0 bits.
Assuming the .bmp mapping is linear writing a program to do the conversion
should not be too difficult.

     Getting the .bmp onto a .dsk is easy enough using the DSK_IN utility. Once
you find the beginning of the .bmp data and decide whether odering is vertical
or horizontal (and find the direction of scanning), you just read in data from
the .bmp block and write it to the hires block doing the conversion necessary
for Apple's oddly arranged hires format. (I highly recommend the project as a
worthwhile assem learning experience!)

     An alternative is to upload the .bmp somewhere and request that someone
with a IIgs or IIgs emu do the conversion.



Rubywand