Solved

Load image and convert it to 8bit (and show as 8 bit)

Posted on 2004-09-18
2
251 Views
Last Modified: 2010-05-18
Hello

I want to do this:

I want to load an image and then it should automatically convert this picture to 8bit and show it as 8 bit in the picturebox...

Is that possible?

Thanks


0
Comment
Question by:Svenrutten
2 Comments
 
LVL 8

Accepted Solution

by:
wguerram earned 150 total points
ID: 12092803
Check this
http://www.experts-exchange.com/Programming/Programming_Languages/Dot_Net/Q_21096692.html



http://www.visualbasicforum.com/attachment.php?attachmentid=11547

I made changes in order to slice the image after open it, using your function.

And also in the QuantizeImage method i commented the condition which compares the image format with A 24 bits in order to process any image format, i just tried it with your image sample.

i tried and it worked fine.

It's a lot of code but you can get from there what you need.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 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