Solved

Multiple Bitmaps on My PC

Posted on 2000-03-20
11
131 Views
Last Modified: 2010-04-03
I develop a "User Interface" consisting of 10 bitmap displays
simultaneously on the screen.I need it to run on any 1 Mbyte VGA graphic
(the speed is not important).

The problem is that not any of the bitmaps is displayed as it looks in
the Paint program.All of them are partialy Grayscaled or even full
Grayscaled.

Few words on the environment:
1. The development and the productions environment are the same:WIN95.
2. I use Bitblt and Strechbilt function on the bitmaps.
3. I create the pictures myself with Photoshop V. 4.0 and I can control
the output format as required by the software.

Does anyony has an idea what can I do to fix it?
It can be an advice about the bitmap mode(indexed,RGB...),or about
programming technics in the software.


Thanks in advance

Izack Lesher
0
Comment
Question by:lesher
11 Comments
 
LVL 2

Expert Comment

by:coopa
ID: 2636447
I think you'll find you are running this on 256 colour mode.

To avoid losing colours the bitmaps have to:
*Share the same palette
*and the palette should contain all 16 standard windows colours in the 1st 16 colours of the palette.

The easiest way to do this is to reduce the colours in Paint Shop Pro.  This has the ability to create bitmaps with the embedded standard windows palette.

If this has no effect then you'll have to reduce them all to the standard 16 windows colours.

I think Version 4 of photoshop came with the windows standard palette, to apply this, select image/mode/index color then select system(windows).
0
 
LVL 30

Expert Comment

by:weed
ID: 2637346
Alot of people are confused about "bitmap". Some people use the term to describe any pixel based image. Others use it to describe a STRICT black and white 1 bit image. Which way are you using it?
0
 
LVL 2

Expert Comment

by:coopa
ID: 2637988
Weed wrote:
Others use it to describe a STRICT black and white 1 bit image

Lesher Wrote:
All of them are partialy Grayscaled or even full Grayscaled.

Think this answers your question weed... They were initially colour images that have been "partialy Grayscaled or even fully Grayscaled"


0
 
LVL 30

Expert Comment

by:weed
ID: 2638021
How does one partially greyscale an image?..heh

What SHOULD these images be?...1 bit or greyscale? What do you WANT them to be?
0
 
LVL 2

Expert Comment

by:coopa
ID: 2639269
> How does one partially greyscale an image?..heh

I think he means that he is losing colours on parts of an image...  You get this when the palette swaps on a 256 colour windows diaplay.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 4

Expert Comment

by:nils pipenbrinck
ID: 2639386
lesher,

have you tried to convert the image, that they only use 32 shades of gray?

This will give gdi enough freedom to remap the image.. you can also include the 20 (or 16?) standard windows colors...

I remember that windows color mapping was bad.. I don't know how I solved the problem, but somehow I did (it was in 1996 when I last wrote something with gdi in 256 colors).

Nils
0
 
LVL 30

Expert Comment

by:weed
ID: 2676325
Shall we ask EE to delete this Q?. No responses to our questions.
0
 
LVL 2

Expert Comment

by:coopa
ID: 2679115
Yeah but I hate it when people can't be bothered to check their posts and leave the question to time out.
0
 

Accepted Solution

by:
thethunderbolts earned 200 total points
ID: 2743201
try out the following.

Go to image - mode - rgb color

0
 
LVL 30

Expert Comment

by:weed
ID: 2746249
How did that get accepted as an answer?
0
 
LVL 2

Expert Comment

by:coopa
ID: 2746482
Who knows.....
some people !
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Quick online design 2 126
Adobe indesign suite cs5.5   How to enable "indesign" capability? 2 190
Adobe Illustrator - saving as .png 28 112
Images 20 99
Introduction When sharing photos, especially via e-mail, the large resolution images that most cameras take today make for extremely large file sizes. The time required to upload these files to forums, send in e-mails, post to blogs or even placi…
Read about why website design really matters in today's demanding market.
In this tutorial viewers will learn how to correct colors in Photoshop using the Levels adjustment Open a photo for editing in Photoshop: Begin by creating a new adjustment layer by going to Layer > New Adjustment Layer > Levels: Select "OK" on the …
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now