Game Maker's Garage Forum

Game Creation => GameMaker => Topic started by: Charlo on October 16, 2010, 08:01:02 PM

Title: Question about image size
Post by: Charlo on October 16, 2010, 08:01:02 PM
Does anybody know what the average size for a card's image is?  We're talking the full-width image, with no text on the card.  I'm curious because I'm currently making a game that utilizes full-screen images exclusively, and I wonder if I can expect to hit the 10 MB limit before I use all 250 cards.   ;D
Title: Re: Question about image size
Post by: Silverwind on October 17, 2010, 01:06:12 AM
The picture box in the Text, Picture and Buttons layout is 311x315 pixels, the one in the Picture and Buttons layout is 626x315 and the one in the full Picture layout is 626x375.

This is under the Large Game Window setting. :)
Title: Re: Question about image size
Post by: GMG Mike on October 17, 2010, 05:53:39 AM
Use GM Toolkit to compress card pictures in your source file that you don't expect to modify again. (if you modify a compressed picture it becomes uncompressed)

After you compile your game, run the compression again on your compiled app to get a nice, small game.
Title: Re: Question about image size
Post by: Charlo on October 17, 2010, 01:26:45 PM
Quote
The picture box in the Text, Picture and Buttons layout is 311x315 pixels, the one in the Picture and Buttons layout is 626x315 and the one in the full Picture layout is 626x375.

This is under the Large Game Window setting. :)
Sorry, I should have been more clear, I meant size in kilobytes.   :P
Title: Re: Question about image size
Post by: Al Staffieri on October 17, 2010, 04:31:38 PM
Quote
Sorry, I should have been more clear, I meant size in kilobytes.   :P

It believe it depends on the picture. They will all be different sizes depending on what's in it. A lot of white space makes the size be less I think.

The limit for the file size is 16Mb.
Title: Re: Question about image size
Post by: Charlo on October 17, 2010, 07:07:39 PM
Quote

It believe it depends on the picture. They will all be different sizes depending on what's in it. A lot of white space makes the size be less I think.

The limit for the file size is 16Mb.
Oh, I'm not sure where I got 10 MB...anyway, thanks for the info.  Most of my cards have a lot of black space, is that equivalent to white space in terms of file size?  
Title: Re: Question about image size
Post by: GMG Mike on October 17, 2010, 07:51:40 PM
Any large blocks of solid color will result in a smaller picture. Uncompressed PICT actually uses a very weak compression called RLE, which only works when there's large blocks of the same color.