Forum

> > CS2D > General > bmp to svg ?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English bmp to svg ?

9 replies
To the start Previous 1 Next To the start

old bmp to svg ?

MAX-russia
User Off Offline

Quote
I heard that there is an image format that doesn't show pixels like in all flash apps, called .svg . I was wondering about replacing weapons,players and sprites from .bmp to .svg by renaming as user DC said. My question is: Will it work like that?

old Re: bmp to svg ?

Alistaire
User Off Offline

Quote
There's no point in doing that, since CS2D has no resizing in the normal game.

old Re: bmp to svg ?

Majatek
User Off Offline

Quote
If you believe that renaming extensions will make it work, then you're dumb.

It's like saying "if you change an extension of a *.gif to *.jpeg then it won't contain the frames that the animated gif originally had". That's stupid dumb logic, because all that you are changing when you rename a file extension is the extension on the end of the filename - This extension is simply a pointer as to what Windows, or whatever OS you use, should open the file with and what it should do. Not how a file is compressed or encoded/decoded by a program.

Say if you have two files that contain graphics: One is a *.bmp, the other is a *.psd - Now, you made it so that Windows recognizes that you've installed Photoshop and that you wish to open psd files with Photoshop, not MS Paint, so whatever future file you create has a *.psd extension will be opened with Photoshop from then on.

If you TRULY want to change *.bmp files to *.svg then you need to find a converter program that recodes the original file from *.bmp raw image data into a different compressed image format that is *.svg.

old Re: bmp to svg ?

DC
Admin Off Offline

Quote
CS2D is NOT a flash app. I don't know why so many people seem to think that. CS2D does not support the SVG image format.

That "trick" with using another format and renaming it to bmp only works with file formats which are supported by the CS2D (BlitzMax) image loader (bmp, jpg, png). Of course the renaming doesn't change the file contents or the actual file format. It just allows CS2D to find the file. It wouldn't find ak47.png for example so it must be renamed to ak47.bmp even if you're using the png format.

In other words: It won't work.

old Re: bmp to svg ?

DC
Admin Off Offline

Quote
No, I'm simply going to give you a 2 day tempban for your stupid pointless spam response... my god... so annoying!

old Re: bmp to svg ?

Apache uwu
User Off Offline

Quote
Last time I checked svg was just xml for some drawing coordinates and type.

     Your best and only bet is to convert to a png or bmp.

old Re: bmp to svg ?

MAX-russia
User Off Offline

Quote
@user Majatek: I was just asking a question that might be very easy for you like 2+2 , so you don't have to answer it using bad words or insulting me at all.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview