Skip to content

Reads an image, edits it, and then writes it one piece at a time to reduce memory usage in Java

Notifications You must be signed in to change notification settings

GrandTheftWalrus/PiecewiseImageReaderWriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiecewiseImageReaderWriter

I made this program to find out how to read, edit, and write an image one piece at a time in order to conserve memory. I needed to be able to do so with an 8256 x 4992 PNG image, which as raw data in memory would be 117MB, for my RuneLite Plugin World Heatmap. I was able to reduce peak memory usage from >300MB to 10MB using standard Java libraries.

About

Reads an image, edits it, and then writes it one piece at a time to reduce memory usage in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages