Re: [Tool]Snip'n'Stitch v4
Posted: Mon Jan 20, 2014 8:53 pm
I kind of gave up on working on this tool. Mostly because Java is surprisingly bad at handling large files due to the big limits in manually handling memory management, and I didn't find a good way to optimize image processing as well (=multithreading, segmentation). There also appears to be no good way to read only parts of the image file at a time for processing to ease up on memory load, which means there's currently no way around having the entire image sitting in the memory at some point in some weird bloated buffered image file type that is used by Java internally. This either crashes the app or causes the super slow pagefile swap on bigger images. The previous version without the preview image probably would manage your big file better, as the preview image(s) actually makes up most of the RAM usage.
TGA worked fine for my test runs, maybe it causes even higher memory usage so it glitches out on big files? Or it runs havoc due to 64bit or recent java updates?
This tool would be much easier to code with optimized speed and memory hanlding if done via C/C++, which I still haven't fiddled with. And as my coding motivation is always highly dependent on my current personal interests, I doubt I'll invest much more into this tool right now. Currently I'm focusing on a fairly advanced BF2 parser tool that allows easy visualization of core stats of mod/game assets (currently maps incl. minimap generation, weapons, kits are parsed, and I'm at ~50% of vehicles, materials and projectiles which are all kind of intertwined). I tailored it to create output that I can just copy&paste into my Project Reality wiki : http://www.wargamer-project.de/wgpwiki/PR .
Kind of a semi-auto wiki this way.
TGA worked fine for my test runs, maybe it causes even higher memory usage so it glitches out on big files? Or it runs havoc due to 64bit or recent java updates?
This tool would be much easier to code with optimized speed and memory hanlding if done via C/C++, which I still haven't fiddled with. And as my coding motivation is always highly dependent on my current personal interests, I doubt I'll invest much more into this tool right now. Currently I'm focusing on a fairly advanced BF2 parser tool that allows easy visualization of core stats of mod/game assets (currently maps incl. minimap generation, weapons, kits are parsed, and I'm at ~50% of vehicles, materials and projectiles which are all kind of intertwined). I tailored it to create output that I can just copy&paste into my Project Reality wiki : http://www.wargamer-project.de/wgpwiki/PR .
Kind of a semi-auto wiki this way.