Solved

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

Posted on 2004-09-18
2
241 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 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

24 Experts available now in Live!

Get 1:1 Help Now