So from what I can tell Media.insertImage is locked to heavy
compression on all images. This includes when passing in the path to a
photo in the filesystem. As a test I used a 3000x2000 pixel jpg which
had been previously saved at maximum quality and was ~6MB. After
passing the path to
I've done some tests with the insertImage call and it looks like it
hard coded to always use a high rate of compression. In my tests I
took a 3000x2000 pixel image, which is ~6MB as a jpeg at max quality,
and passed the file path in to insertImage. The image that was saved
to the phone's DCIM
2 matches
Mail list logo