flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > insert bmp

Author
Thread Post new topic Reply to topic
the_man



Joined: 18 Oct 2004
Posts: 3
the_man 18 Oct 2004, 01:01
helo
i got a question:
how to insert bmp image?
I read about fn 07 but i it doesnt work with this Sad
Can anybody give an example
Post 18 Oct 2004, 01:01
View user's profile Send private message Reply with quote
the_man



Joined: 18 Oct 2004
Posts: 3
the_man 19 Oct 2004, 02:55
can anybody tell me ???
Post 19 Oct 2004, 02:55
View user's profile Send private message Reply with quote
compilax



Joined: 18 Feb 2004
Posts: 56
compilax 19 Oct 2004, 06:30
What do you mean exactly?
If you want to use .bmp images as used in old (and maybe new???) versions of Windows, MenuetOS does not help you very much. You will have to convert that image into a series of bytes - Red, Green, Blue, Red, Green, Blue, and so on, then use function 7 to display _that_ image.
MenuetOS does not have shared libraries (aka DLLs), so not much high level stuff like displaying images in more complex formats or even using widgets like text boxes is supported. It is possible, but it just means you have to do it yourself. .BMP is a very simple format so you're in luck Smile. As long as it's not 8 bit bitmaps (which would need handling palletes and such), it should be quite easy.
Take a look at the icon program's source code, or anything else that works with .bmp images (the menu maybe?).
Post 19 Oct 2004, 06:30
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.