Inside Bitmaps - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Inside Bitmaps

AmanteAmante Posts: 52Member
Hola,

I'm trying to view a small bitmap on my Dialog Box.

I have the .jpg file, i use VC++ to "cut and paste" inside a new bitmap in the resources. BUT !

The pallette (the colors) of the original jpg (and bitmap) have disappeard, and from the nice picture i had, i have a mearly boering picture.

How can i fix it?

Don.

Comments

  • reunionreunion Posts: 12Member
    : Hola,
    :
    : I'm trying to view a small bitmap on my Dialog Box.
    :
    : I have the .jpg file, i use VC++ to "cut and paste" inside a new bitmap in the resources. BUT !
    :
    : The pallette (the colors) of the original jpg (and bitmap) have disappeard, and from the nice picture i had, i have a mearly boering picture.
    :
    : How can i fix it?
    :
    : Don.
    :

    I would never use .jpg file. This format damages the graphics.


    [green]Reunion[/green]



  • AsmGuru62AsmGuru62 Posts: 6,519Member
    You have to re-save this .jpg file into .bmp file and then import it into your VC++ project. That is what I did - and it works, but it will, probably, not allow VC++ to edit/show this bitmap when you in design mode, but as soon as you go into run mode - the dialog shows this image... If you have trouble re-saving it - let me know at: '[email protected]'.

Sign In or Register to comment.