a simple java RGBA gamma-correct mipmap creator