Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8434837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:46:01+00:00 2026-06-10T06:46:01+00:00

One thing I’ve noticed about spritesheets is that their filesize is not entirely consistent.

  • 0

One thing I’ve noticed about spritesheets is that their filesize is not entirely consistent. When you have individual images, assuming they are compressed properly, their filesize won’t change. But with spritesheets, the filesize of the image can vary a lot depending on how the images are arranged.

As an example, I created this spritesheet:
Sheet http://pokebattlers.net/img/misc/forumstars.png I tried horizontal, I tried 2×3 in portrait and landscape, I tried all 6! = 720 possible arrangements for the images, and what I found was that the order of the stars made absolutely no difference (I didn’t really expect it to, given the image is indexed and so all that changed was the palette being rearranged), but the vertical layout produced a smaller file than any other.

Is there any algorithm that can help determine the optimal arrangement of images in a spritesheet, or is it just a case of brute-force “try everything and find the smallest one”?

Also, why is it that a vertical lineup produces a smaller file than a horizontal one in this and the few other cases I’ve tried?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T06:46:02+00:00Added an answer on June 10, 2026 at 6:46 am

    I dont know the algorithm, but I can share my experience:

    • Sprite vertically ! Horizontally is bigger in filesize
    • Group colors together (crushing and compressing will increase)
    • use a white background (smaller in filesize than a transparent background)
    • remove unneeded colors from the images’ color palette

    HTH

    Gekkstah

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

One thing that bothers me about nHibernate is that it is not 100% compile
One thing I have noticed on some sites is that they use one BIIIIIIIG
One thing I don't like about writing javascript-based applications is that you have to
One thing i noticed about WPF is that it combines various concepts from other
One thing that really bothers me about Google Code is that fact that it
One thing I have noticed a lot of back and forth on is where
One thing I have continually found very confusing about using an object database like
One thing I really love about languages such as Python is that if you
One thing that has bothered me about C# since its release was the lack
One thing I have in mind is, that datasets in Core Data (or lets

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.