reading pixels from a non-bitmap image file???

i would like to read the pixel values from a non-bitmap image file and
to display and save as a bitmap file. I couldnt even read the pixels so
that it isnt a bitmap ( scanline i tried)
if u have any idea pelase mail me.
Posted via Talkway -
Exchange ideas on practically anything (tm).