Hi,
I have recently started to use icons in my applications and have downloaded a huge collection of them so far. Not all collections are in the format that I need for my application and hence my need for XnView.
Is there any loss in image quality when one format is converted to another?
If I were to convert a BMP image to an ICO image and then convert it back again and repeat this many times, would there be a loss in image quality?
Could I do the same say for a BMP image and a PNG image?
Regards FarmerJo
PNG, BMP & ICO conversions
Moderators: helmut, XnTriq, xnview
All lossless--

- AFAIK, *.BMP - *.ICO and *.PNG are lossless formats. On principle, you could convert (and inverse) into these formats ones others without any problem…
- However, JPEG IS a lossy format, so avoid several conversions into¦from that format.

Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
Hi,
Thanks for the reply.
I have another question if I may.
I am using Borland C++ Builder to develop an application and have now added the appropriate toolbar icons. I can use either BMP or ICO bitmaps in the application but my collection is in PNG format. I used XnView to create a set of BMP's and ICO's. Initially some of the bitmap images were displayed with a white background.
After a while I found out that Borland C++ Builder uses the lower left pixel in an image as the transparency colour.
Is it an accepted convention to use the lower left pixel in a BMP as the transparency colour? Does the same apply to the ICO format?
Do you have a recommendation for a good icon editor, preferably freeware or shareware?
Regards FarmerJo
Thanks for the reply.
I have another question if I may.
I am using Borland C++ Builder to develop an application and have now added the appropriate toolbar icons. I can use either BMP or ICO bitmaps in the application but my collection is in PNG format. I used XnView to create a set of BMP's and ICO's. Initially some of the bitmap images were displayed with a white background.
After a while I found out that Borland C++ Builder uses the lower left pixel in an image as the transparency colour.
Is it an accepted convention to use the lower left pixel in a BMP as the transparency colour? Does the same apply to the ICO format?
Do you have a recommendation for a good icon editor, preferably freeware or shareware?
Regards FarmerJo
Rather BMP

- First : Welcome aboard ! I forgot

- There is no special option to follow the Borland's feature for the B¦L pixel as transparency-colour.
• However, you can set it for BMP's and PNG's by choosing it in the colour-map : Image menu >> Edit colour-map.
- Let notice that is available only for pics up to 8 BPP (256 colours).
- Moreover, the transparency is not supported for *.ICO, you would get always a black background instead, making the icon unusable the most times.

- So, please use just BMP 8 BPP in your programme.
- A good icon-editor can be found HERE. Just a trivial annoyance : it opens a new empty file always @ each start-up, and is on your back then when closing to save it !


Claude
Clo
Last edited by Clo on Tue Mar 21, 2006 6:07 pm, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice •