theunreplicated / spriteme

Automatically exported from code.google.com/p/spriteme
0 stars 0 forks source link

Tile the sprited image better (choose a best-effort knapsack problem solution) #95

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
sprite a set of images of varying dimensions (e g: 1024*128, 512*512 and 
512*512 px

What is the expected output? What do you see instead?
Ideally, the images would appear something like this:

AAAAAAAA
BBBBCCCC
BBBBCCCC
BBBBCCCC
BBBBCCCC

Instead, they appear like this:

AAAAAAAA
BBBB----
BBBB----
BBBB----
BBBB----
CCCC----
CCCC----
CCCC----
CCCC----

It would save space, memory and load time if at least some naïve attempt at 
tiling the space was made.

Original issue reported on code.google.com by jo...@corp.mashlogic.com on 25 Oct 2011 at 1:31