Skip to content

Check and resize textures to work with Crunch compression (multiple of 4 width and height requirement)

License

Notifications You must be signed in to change notification settings

AlexeyPerov/crunch_textures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Check and resize textures to work with Crunch compression

stability-stable License: MIT Maintenance

With this tool you can scan images (.png, .jpeg, .tga) across selected folders and detect which of them can work with Crunch compression.

It simply checks their dimensions to be multiple of 4 and suggests options for resizing.

Resizing is done via image package with 4 options:

  • linear interpolation
  • cubic interpolation
  • nearest interpolation
  • or centering original image inside transparent one with the desired size

You can also:

  • resize an original file (with or without a backup)
  • resize to a copy

Usage

At first select the folder to work with:

plot

The tool finds all images there then indicating which are multiple of 4 and which are not

plot

Tapping on any of the images opens the panel where you can choose resize options

plot

Supports light & dark themes:

plot

Platforms

Works with MacOS and Windows.

Linux should work too (not tested).

Just type:

flutter create --platforms=linux .

to add its module to a project.

How to build

MacOS

Windows

About

Check and resize textures to work with Crunch compression (multiple of 4 width and height requirement)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published