Jump to content
Sign in to follow this  

[GDI+] How to get BitmapData a Color Palette?

Recommended Posts


I need convert any bitmap (BMP, PNG, TIF etc.) with any BPP to a non-standard file (no image, but data included 8-bit color depth), which will contain a BITMAP DATA and COLOR PALETTE like BMP(DIP) 8-bit.

Is possible use GDIPlus.au3 for getting BITMAP DATA and COLOR PALETTE? I know BMP format file, but when I use GDI+ to converting from other format, I'd like to make their work easier.

My idea is:

1) convert any bitmap to BMP 8-bit

2) read Bitmap data from BMP-8 >> ...write pixel to pixel (byte to byte) to external file

3) read collor palete from BMP-8 >> ...Write color by color to external file

Many thanks

Edited by ancp

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...