Forum

> > CS2D > General > *.BMP into *.PNG
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch *.BMP into *.PNG

12 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

Umfrage Umfrage

Need to change the extension from *. Bmp to *. Png?

Nur registrierte Benutzer können abstimmen
Yes, it needs to be done.
42,11% (8)
No. I have enough 262 colors.
10,53% (2)
I do not care.
47,37% (9)
19 Stimmen abgegeben

alt Umfrage *.BMP into *.PNG

Pagyra
User Off Offline

Zitieren
I request to DC:
Can you change the extension of all files *. PNG?

This will provide the following benefits:
1. Сompression (reduce size of images)
2. Alpha channel (transparency) - it allows to use the effect of smooth shadows, glow, ...
3. Full-color images (At this moment we can't use black, blue, pink colors)

As an example of a sprite of rocket:

PNG
IMG:https://s018.radikal.ru/i524/1203/15/d33562dff3b4.png

BMP
IMG:https://s018.radikal.ru/i510/1203/38/d323c2a147e6.bmp

alt Re: *.BMP into *.PNG

DC
Admin Off Offline

Zitieren
this is actually not necessary. you can use the PNG format nevertheless. just create your images as PNG and rename them to filename.bmp

some programs might have problems to open the files properly then but CS2D will recognize that they are actually PNGs with BMP extension and will load them without any problems.

short:
• create your skins as PNG files
• rename them to filename.bmp so CS2D finds them

(I'm not 100% sure if the alpha channel will be loaded properly, just try it)

also I don't know what the 262 colors are about. you can use bmps with a 32 bit color depth (that are several million colors...). png does not have more colors than that.
3× editiert, zuletzt 05.03.12 14:17:18

alt Re: *.BMP into *.PNG

Big Bang Mafia
User Off Offline

Zitieren
DC hat geschrieben
short:
create your skins as PNG files
rename them to filename.bmp so CS2D finds them


i did not think about that, i think i will agree with @user DC:

alt Re: *.BMP into *.PNG

MikuAuahDark
User Off Offline

Zitieren
user Hador hat geschrieben
@user MikuAuahDark: lol. I have never before heard of an image editor that does not support .PNG
yes, MS paint for example, it not support alpha channel

user DC hat geschrieben
this is actually not necessary. you can use the PNG format nevertheless. just create your images as PNG and rename them to filename.bmp

some programs might have problems to open the files properly then but CS2D will recognize that they are actually PNGs with BMP extension and will load them without any problems.

short:
• create your skins as PNG files
• rename them to filename.bmp so CS2D finds them

waw, this is a cs2d secret

alt Re: *.BMP into *.PNG

DannyDeth
User Off Offline

Zitieren
user Pagyra hat geschrieben
Сompression (reduce size of images)

Only thing is that the ZIP archives that contain the stuff will become larger.

user DC hat geschrieben
also I don't know what the 262 colors are about. you can use bmps with a 32 bit color depth (that are several million colors...). png does not have more colors than that.

Well, to be a little more close, DC, it's 4 billion and something. Oh, and the alpha channel will load correctly provided that BlitzMax's PNG loading code checks it's sig bytes correctly.

alt Re: *.BMP into *.PNG

Lys
User Off Offline

Zitieren
user MikuAuahDark hat geschrieben
user Hador hat geschrieben
@user MikuAuahDark: lol. I have never before heard of an image editor that does not support .PNG
yes, MS paint for example, it not support alpha channel

You don't need to have an alpha channel to edit .PNG files... You can still work perfectly fine with MS Paint, besides that it sucks.

alt Re: *.BMP into *.PNG

Anders4000
User Off Offline

Zitieren
user Lys hat geschrieben
user MikuAuahDark hat geschrieben
user Hador hat geschrieben
@user MikuAuahDark: lol. I have never before heard of an image editor that does not support .PNG
yes, MS paint for example, it not support alpha channel

You don't need to have an alpha channel to edit .PNG files... You can still work perfectly fine with MS Paint, besides that it sucks.

Downloading Paint.NET doesn't even take a minute, don't be lazy. Make it easy for yourself and get it.

alt Re: *.BMP into *.PNG

Big Bang Mafia
User Off Offline

Zitieren
user Lys hat geschrieben
You don't need to have an alpha channel to edit .PNG files... You can still work perfectly fine with MS Paint, besides that it sucks.


MS Paint is one from the best programs for me

alt Re: *.BMP into *.PNG

Pagyra
User Off Offline

Zitieren
user DC hat geschrieben
just rename png images to filename.bmp

Ok thanks
I never knew that this is so ...
1× editiert, zuletzt 06.03.12 05:06:40
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht