|
I'm porting a software that build from 16bit color depth to 18bit color depth. How can I convert the 16-bit colors to 18-bit colors? Thanks.
Started by sasayins on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
For each color within each pixel you need something like this:
NewColor = (oldColor/32.0)*64
This will turn the old color ....
That means 64 variations of each color and a total of 262,144.
color would get 6 bits of variation.
|
|
How can I check if two System.Drawing.Color structures represent the same color in 16 bit color depth (or generally based on the value of Screen.PrimaryScreen.BitsPerPixel)?
Let's say I set Form.TransparencyKey to Value1 (of Color type), I want to check...
Started by David on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Value1) == ColorTranslator.ToWin32(Value2) )
There are two pixel formats for 16-bit color, 555.
|
|
If I attempt to connect to Mac OS X 10.5 Leopard's built in vnc server at a low color depth from Windows, the client bombs after connecting. It only works when I set it to the highest color depth. I've tried with at least 3 windows VNC clients. Any ideas...
Started by Alex Argo on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I won't assert the bit depth that clients connect at though..
In my experience you can't lower the color depth with the default vnc server.
|
Ask your Facebook Friends
|
There are many phones, each with it's own icon size (for example, Nokia has 19 different sizes, http://www.j2meforums.com/wiki/index.php/Application_Icon_sizes ).
I would like to use only one icon (even if it's displayed poorly).
Is there a single icon...
Started by jluis on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Not an optimal solution but if you are trying to port an app to 20 + handsets then icons will... .
To address this, you can have unique builds created for each handset .
Depending on the number of handsets you need to support, it may not be realistic to do so .
|
|
I'm working on an application that prints a folder of image files, including JPEG and TIFF. The TIFF images are usually Black and White (1bpp).
After loading the image, I want to determine if the image is Color or B&W or Grayscale so I can send the image...
Started by Chris Thompson on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This may contain the appropriate EXIF tags to help determine the bit depth.
Collection of the Bitmap.
|
|
I'm using the .NET CF 2.0 on multiple devices which have different display capabilities (specifically color/monochrome) that I'd like to determine at run-time but can't find any methods that provide access to this information.
Started by ZippyBurger on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Greater....
Generally you can look at color depth and say that if it's 8-bit or less, its very, very likely to be greyscale.
Edit 1
This gives you color depth, but not actual "color" versus "monochrome.
For the nIndex value.
|
|
Hi all,
I was wondering how to make a toolbar in MFC that used 24bit or 256 colour bitmaps rather than the horrible 16 colour ones.
Can anyone point me in the direction of some simple code?
Thanks
Started by Whyamistilltyping on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I know this will work for 256-colours....
The solution is to create our own image list and tell the toolbar to use that instead .
The reason this happens is that the MFC CToolbar class uses an image list internally that is initialised to use 16 colours only .
|
|
REPHRASED QUESTION:
I am coming up with a list of possible image bit depth values that could be used as a predefined reference list in my application. I could think of 8,16,24 and 32 bit depths. The image formats considered are BMP, JPEG, PNG and GIF....
Started by pencilslate on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
There are many other considerations for choosing complicated question ... .
Bits is considered full color, meaning every color you can see can be represented in the image not depending on the image and the color selection algorithm.
|
|
I and many others run desktop graphics cards off of a laptop. Performance is good when using an external monitor, but when trying to use the laptop's LCD screen, performance drops drastically due to the framebuffer needing to be sent over the compressed...
Started by Khenglish on
, 6 posts
by 4 people.
Answer Snippets (Read the full thread at guru3d):
If you notice, I asked about....
If you notice, I asked about 24bit color too, which has the same color spectrum.
|
|
Hi
I’ve just upgraded from Server 2003 running Virtual Server + Virtual Machine Manager to Server 2008 (server core) + Hyper-V. We are heavily invested in using VMs for testing our product, which has both client and server components. The server-side ...
Answer Snippets (Read the full thread at microsoft):
Cheers....
There is no way to increase the VRAM - but you can get around the 16-bit color issue by "updating the VRAM - but you can get around the 16-bit color issue by "updating" the video driver to just use allow you to run your application.
|