I'd never heard of the ECW format but had a Google and found what it is.
Are you looking for a 'tile cutter' application, an application that takes a single large image and converts it into tiles?
I found no tile cutter applications when i needed one so wrote my own - i wrote it using java not b4a or b4j, though with a little time and effort it could be re-written using b4j.
My application is attached if you want to give it a try, it's a command line utility, a typical command would be:
java -jar SlippyTileCutter.jar C:\tmp\SlippyTileCutter\map_of_the_uk.jpg C:\tmp\SlippyTileCutter\tiles\ jpg
The application is launched using
java -jar SlippyTileCutter.jar, and it has three command line parameters:
- C:\tmp\SlippyTileCutter\map_of_the_uk.jpg
This is the path to the input file.
- C:\tmp\SlippyTileCutter\tiles\
This is the path to save the created tiles to, note that it must include a trailing slash.
- jpg
This is the format to save the tiles in, valid options are 'gif', 'jpg' and 'png'.
The application though i'm sure won't be able to open an ECW format image.
Can you convert these ECW format images to a format that the application does support?
(By default the application supports gif, png, jpg, bmp and wbmp format input images).
My application is far from complete - it can create tiles using various different algorithm from quick low quality to slow high quality.
It's hardcoded to a 'balanced' quality setting.
My ulitimate goal was to get the command line application working then build a GUI around it - so far i've not had time to do that.
The background padding color is also hardcoded to black - again the plan was/is to make such settings configurable.
Have a look and if you think my application could be useful let me know and i'll update it to make all settings configurable.
Martin.