Bitmap file is not in 3.00 format


















Was a massive schoolboy error on my part! Code was perfect apart from one line which I will add in as an answer. Add a comment. Active Oldest Votes.

The code was this: image. Save newfilename ; After some headscratching this solved the problem: n. Save newfilename,ImageFormat.

Bmp ; I hope this helps someone. Improve this answer. The documentation for Image. Save explains that if no encoder is present it will save the image as PNG.

That is probably the case here. Which have bitmasks that indicate what part of the image is transparent or inverted.

So the best way to read the error message is for what it says: "this is not an icon". It can't meaningfully say more than that, it isn't going to try to guess what kind of file it actually might be.

That you could load the file in MS Paint is another strong indication that the file was actually a bitmap and not an icon, Paint can't load icons. It doesn't have the plumbing to allow you to select the specific image from the. Renaming a image file to. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. What does "error RC icon. Asked 8 years, 7 months ago. Active 8 years, 7 months ago.

Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful? Please rate your experience Yes No. Any additional feedback? Submit and view feedback for This product This page. I made the icon in Paint. NET and saved it as. This was the very first hit with google. Yup, it was. But the first response, and the only one i was interested in Convert to bit bitmap didn't work.

You need some sort of graphics editor to do that. IrfanView does nothing more than convert files in whatever format you want. I've never used it so I don't know how it works. And i dont want to use IrfanView, i've never used it either and i dont have it.

So if you are the windows user just buy Photoshop and install GMG to edit icons.



0コメント

  • 1000 / 1000