Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: 2 river bugs  (Read 1564 times)

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: 2 river bugs
« Reply #15 on: April 28, 2009, 09:40:52 pm »

Save as -> Select the bar that says BMP and select from the sliding box PNG. You should notice a massive decrease in filesize.

Or just change the filename and put a .png on the end.
Logged
The World Without Knifebear — A much safer world indeed.
regardless, the slime shooter will be completed, come hell or high water, which are both entirely plausible setbacks at this point.

sausage

  • Bay Watcher
    • View Profile
Re: 2 river bugs
« Reply #16 on: April 28, 2009, 09:48:01 pm »

... no... just... no...
Logged
Of course, why else would dwarves risk life and limb to retrive one sock during a full scale siege onslaught.
The depressing thing is that they quite often lose life and limb(s) in the process.

Untelligent

  • Bay Watcher
  • I eat flesh!
    • View Profile
Re: 2 river bugs
« Reply #17 on: April 28, 2009, 09:51:09 pm »

Whoops, sorry, I misphrased that, and quite badly.

I meant open it in paint, Save As a different filename, and with a .png on the end.
Logged
The World Without Knifebear — A much safer world indeed.
regardless, the slime shooter will be completed, come hell or high water, which are both entirely plausible setbacks at this point.

sausage

  • Bay Watcher
    • View Profile
Re: 2 river bugs
« Reply #18 on: April 28, 2009, 09:53:05 pm »

oh lol...

sleep with one eye open
Logged
Of course, why else would dwarves risk life and limb to retrive one sock during a full scale siege onslaught.
The depressing thing is that they quite often lose life and limb(s) in the process.

Draco18s

  • Bay Watcher
    • View Profile
Re: 2 river bugs
« Reply #19 on: April 29, 2009, 01:32:14 am »

Whoops, sorry, I misphrased that, and quite badly.

I meant open it in paint, Save As a different filename, and with a .png on the end.

I'm sorry, that doesn't work either.  You end up with FILENAME.png.BMP making the file a bitmap.
Logged

Sowelu

  • Bay Watcher
  • I am offishially a penguin.
    • View Profile
Re: 2 river bugs
« Reply #20 on: April 29, 2009, 03:16:21 am »

Put quotes around it.

"image.png"

That prevents Windows from screwing with the extension.
Logged
Some things were made for one thing, for me / that one thing is the sea~
His servers are going to be powered by goat blood and moonlight.
Oh, a biomass/24 hour solar facility. How green!

G-Flex

  • Bay Watcher
    • View Profile
Re: 2 river bugs
« Reply #21 on: April 29, 2009, 03:20:23 am »

This is assuming MS Paint is even smart enough to compress it as a PNG just because you told it to save it with that filename.

NEVER assume a program will do that.
Logged
There are 2 types of people in the world: Those who understand hexadecimal, and those who don't.
Visit the #Bay12Games IRC channel on NewNet
== Human Renovation: My Deus Ex mod/fan patch (v1.30, updated 5/31/2012) ==

RAM

  • Bay Watcher
    • View Profile
Re: 2 river bugs
« Reply #22 on: April 29, 2009, 05:23:16 am »

Open it in paint, use 'Save As...', Change "Save as type:" to anything that doesn't have bmp in it. Well, check what formats you can host, but basically, bmp is the least compact format you will encounter...
Logged
Vote (1) for the Urist scale!
I shall be eternally happy. I shall be able to construct elf hunting giant mecha. Which can pour magma.
Urist has been forced to use a friend as fertilizer lately.
Read the First Post!

Grax

  • Bay Watcher
  • The Only.
    • View Profile
Re: 2 river bugs
« Reply #23 on: April 29, 2009, 05:40:00 am »

Open it in paint, use 'Save As...', Change "Save as type:" to anything that doesn't have bmp in it. Well, check what formats you can host, but basically, bmp is the least compact format you will encounter...
You just forget about TIFF? ;-)
Logged
Finis sanctificat media.

Draco18s

  • Bay Watcher
    • View Profile
Re: 2 river bugs
« Reply #24 on: April 29, 2009, 09:09:46 am »

Put quotes around it.

"image.png"

That prevents Windows from screwing with the extension.

It's still in bmp format.
Logged

Sowelu

  • Bay Watcher
  • I am offishially a penguin.
    • View Profile
Re: 2 river bugs
« Reply #25 on: April 29, 2009, 12:24:00 pm »

Really.  Because I just tried it on my machine.  :x  Works for sure on my Vista box, and I'm almost totally sure I've done it successfully at home on XP.  Other programs open it as a .png, it has different file size from saving it without the .png on the filename, etc.  I don't know how many versions of MS Paint there are for XP, but probably not many.

Maybe you don't have all the service packs?  Wasn't PNG support a little spotty, early on?
Logged
Some things were made for one thing, for me / that one thing is the sea~
His servers are going to be powered by goat blood and moonlight.
Oh, a biomass/24 hour solar facility. How green!

Derakon

  • Bay Watcher
    • View Profile
Re: 2 river bugs
« Reply #26 on: April 29, 2009, 02:18:51 pm »

Grax: TIFF is more compressed than BMP.

% convert derakon.jpg derakon.tiff
% convert derakon.jpg derakon.bmp
% ls -hl derakon\.*
-rw-r--r--   1 chriswei  chriswei       12M Apr 29 12:16 derakon.bmp
-rw-r--r--   1 chriswei  chriswei      795K Apr 14 20:09 derakon.jpg
-rw-r--r--   1 chriswei  chriswei      776K Apr 29 12:16 derakon.tiff

In fact, to be less compressed than BMP, you have to be actively trying to waste space. BMP is the most simple image format you can have while still having a file that's in binary (as opposed to plaintext, for example). It simply records one int (or short, or char, depending on bitdepth) per color per pixel, in order.
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels

Draco18s

  • Bay Watcher
    • View Profile
Re: 2 river bugs
« Reply #27 on: April 29, 2009, 06:56:16 pm »

In fact, to be less compressed than BMP, you have to be actively trying to waste space. BMP is the most simple image format you can have while still having a file that's in binary (as opposed to plaintext, for example). It simply records one int (or short, or char, depending on bitdepth) per color per pixel, in order.

Bitmaps are plaintext.  Almost.  You can replace the data in a bitmap with letters (well, the ones the represent each pixel, the rest are control characters/data) and it'll work just fine.

You have to be able to save back into binary from your text editor, but...

This image:
<-- yes there is a 4x2 image there.
is this when viewed in plaintext.
Logged
Pages: 1 [2]