Here is a port of a class found here: http://blog.jaimon.co.uk/simpleimageinfo/SimpleImageInfo.java.html
that reads the size info from a file for GIF, JPG, PNG, BMP and TIFF files. Useful so you can determine whether to load the file or a Sampled version without having to load it fully first.
I haven't tried it, but I think it should work for B4a as well.
that reads the size info from a file for GIF, JPG, PNG, BMP and TIFF files. Useful so you can determine whether to load the file or a Sampled version without having to load it fully first.
I haven't tried it, but I think it should work for B4a as well.