Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8973623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:29:18+00:00 2026-06-15T18:29:18+00:00

I’m using Notepad++ to do most of my coding currently. However, I’d like to

  • 0

I’m using Notepad++ to do most of my coding currently. However, I’d like to change its icons, just for customization sake really.

So what I did was to open the .exe with Resource Hacker, and see where the icons were. They seem to be in bitmap format, which is weird because they have transparency, and replacing them with any “Bitmap” (BM header, “Windows Bitmap”) format I know of doesn’t work (the icon isn’t shown).

So I’d like to ask, which format are these files in, and how can I produce them?

Sample of the bitmaps can be found in the Notepad++ repository:
newFile http://sourceforge.net/p/notepad-plus/code/735/tree/trunk/PowerEditor/src/icons/newFile.bmp?format=raw
openFile http://sourceforge.net/p/notepad-plus/code/735/tree/trunk/PowerEditor/src/icons/openFile.bmp?format=raw
saveFile http://sourceforge.net/p/notepad-plus/code/735/tree/trunk/PowerEditor/src/icons/saveFile.bmp?format=raw
saveAll http://sourceforge.net/p/notepad-plus/code/735/tree/trunk/PowerEditor/src/icons/saveAll.bmp?format=raw
closeFile http://sourceforge.net/p/notepad-plus/code/735/tree/trunk/PowerEditor/src/icons/closeFile.bmp?format=raw
closeAll http://sourceforge.net/p/notepad-plus/code/735/tree/trunk/PowerEditor/src/icons/closeAll.bmp?format=raw

As you can see, they have a grey matte, which makes me think the alpha channel is stored in the format in some non-standard way. (or, it has binary transparency, and #C0C0C0 means transparent).

It is also fairly large, having more than 5 bytes per each pixel represented (!).

This is how the header of the first bitmap above looks:

Hex Workshop

Any idea? Just knowing what format this is would be enough.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:29:20+00:00Added an answer on June 15, 2026 at 6:29 pm

    This is an 8BPP (8 bits per pixel) indexed bitmap. After the “BM” there is a 52-byte header, a palette of 256 colours, and the indexed pixel data. Each colour is 4 bytes, in BGR_ format (the fourth byte isn’t used; if it was an alpha channel, you would see FF instead of 00).

    The indexed pixel data starts at 0x436. It’s simple: one byte represents one index in the palette. For example, the first few bytes are 07 07 18 18. The 0x07 will make that pixel use the 8th colour in the palette, which is #C0C0C0; and the 0x18 will make that pixel use the 25th colour in the palette, which is #CECECE.

    I’m guessing that transparency is handled as you guessed. I see 07 wherever a transparent pixel would be, and the corresponding colour in the palette is #C0C0C0.

    Note that the pixel data is stored upside-down. That is, the first 16 bytes at offset 0x436 represent the bottom row of pixels.

    It’s explained in more detail here: http://en.wikipedia.org/wiki/BMP_file_format#File_structure

    EDIT: As for how to produce them, just ask your favourite image editing software to export the image as a 256-colour bitmap (or an 8BPP bitmap, whichever is available). Note that Microsoft Paint will mangle the colours if you save it after drawing it, so save it before you actually draw anything.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I've got a string that has curly quotes in it. I'd like to replace
I am using the SimpleRSS gem to parse a WordPress RSS feed. The only
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I want use html5's new tag to play a wav file (currently only supported

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.