edit fits float to jp2 integer conversion (still not working)