Handle max_kb in nokia.image-processing localmsg api

I tested with several images, the size of generated image is about 10%-20% larger than the given size which I think it's acceptable.
In my MIDlet only the first two cases are possible (although I've only seen max_hres and max_vres), but I don't know if this is true in general