File Size Reduction Guide (for .DMIs)

A place to discuss the game in a general fashion that doesn't fit the rest of the forums.
User avatar
Trexmaster
Posted to Death
Posted to Death
Posts: 736
Joined: Wed Nov 12, 2014 9:48 pm
Location: A dungeon.

File Size Reduction Guide (for .DMIs)

Postby Trexmaster » Mon Jan 25, 2016 3:40 am

I figured this didn't really need its own thread when we already have this guide, but, I did it anyways. Go me.

I've noticed some people still aren't in the know as to how to make their .dmis for their face icons fit right. Sometimes it's just not possible, but, typically you should be able to fit a very reasonable amount of images into one .dmi of appropriate size. Now as to how it's done...

1. Use the steps posted in the guide above to gather up all your images into one .dmi.

2. Using an image editor (such as GIMP, already linked in the OP, which is what I use, so, I'll be referencing that) open the .dmi.

Image
^Make SURE you have it to 'all files' or else it will not show the .dmi otherwise.

3. Next, we'll want to reduce the file-size to something the game will actually accept. To do this, you'll want to try indexing the image (to my knowledge, it just reduces the colors used, generally makes everything take up less space). In GIMP--

Image

4. Now just adjust the number you'll see here down. Typically you can lower it pretty far without seeing major changes if any at all, but, if the filesize remains too large, consider docking it down further. This doesn't work as nicely with pictures that have a lot of unique colors in them. Probably.

Image
Make that number lower. I typically just dock it to like, 100. But in this case, I ended up going all the way down to 20 to get to the reasonable size of 123KB. The pictures were all black and white, though, so, results may vary.

5. Import the .png into an empty .dmi, making sure you UNTICK 'use size from file' and set the size to 96x96. It should cut the image into all the FIs you'd saved before, along with some blank squares and the tiny version of all the icons together. Just delete those ones. (The blank squares only appear when there's extra boxes in the full image).

Image
That's what your options should look like. Importing the png is the same as importing any other FI at that point.

6. Rename all your states as needed, and, if the .png had a low enough file size, the .dmi should carry over the same size, thus, you should be done!

7. Some people like to use https://tinypng.com/ as an alternative once they've converted the .dmi into a .png. This is fine. Just remember to follow the steps to adding it to a .dmi properly afterwards. The site itself should be fairly self-explanatory, just drag the .png and watch as its file-size-reducified or whatever.
Last edited by Trexmaster on Wed Aug 31, 2016 4:53 pm, edited 1 time in total.

User avatar
Zakizo
Frequent Poster
Frequent Poster
Posts: 162
Joined: Sat Mar 14, 2015 5:21 am
Location: Discord

Re: File Size Reduction Guide (for .DMIs)

Postby Zakizo » Mon Jan 25, 2016 3:49 am

We don't have enough stickies. Let's get sticky.
Image

User avatar
Slydria
GM
GM
Posts: 412
Joined: Wed Nov 12, 2014 6:35 pm
Location: Australia

Re: File Size Reduction Guide (for .DMIs)

Postby Slydria » Mon Jan 25, 2016 4:15 am

You can have your sticky... just don't make this weird, geez.
Image


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests