Image save as png, not jpg.

Hi there,

The image was saved as jpg, and don’t know why today all new images are saved as png file. I didn’t change any app settings.

In this way, when I create pdf file, all images won’t be shown anymore.

 

Anyone can help?

Solved Solved
0 7 368
1 ACCEPTED SOLUTION

That's probably it. I think you will find it working again now since we dialed back the update. I'll be making the change mentioned above which should maintain jpg as the output when drawing on a jpg before rolling it out again. Just to confirm, these 100+ images are cases where a photo was taken and then drawn on using a Drawing type column?

View solution in original post

7 REPLIES 7

Steve
Platinum 5
Platinum 5

I wouldn't expect AppSheet to change the uploaded image's format, so I'd guess the image you uploading is already a PNG.

Is the column involved a Drawing type? And is the image saved on a mobile device?

There is an update being rolled out to drawing and signature types to fix a bug where rotating the device after marking on it but before saving the form would cause the input value to clear. Previously in mobile these input types were inconsistent in sometimes producing JPG and sometimes producing PNG format, and the update also attempted to eliminate this inconsistency by always producing PNG format. This update has already been in effect in Desktop mode for a long time, but the rollout is now applying it to mobile since we had not heard any issues raised about the file extension so far. In our own testing, both formats correctly display in generated PDFs. Can you describe more about how the image is being referenced in the pdf in your case, such that the file extension would affect it?

 

Another problem was discovered within the rollout, so for now we have dialed it back. Since the file extension was raised as an issue, before rolling it forward again I'll look into adjusting the behavior to determine the output file extension from the background image where possible, so drawing on a PNG would yield a PNG while drawing on a JPG would yield a JPG.

Hi Adam, 

Thanks a lot for your reply. 
When we generate pdf file, it will contain more than 100 images. It happened if the images files are too large, it will be a problem to generate pdf successfully. (Sometimes the images missed and sometimes pdf failed.)

As the png file is larger than jpg file. Would it possible be the problem of image file size? 

That's probably it. I think you will find it working again now since we dialed back the update. I'll be making the change mentioned above which should maintain jpg as the output when drawing on a jpg before rolling it out again. Just to confirm, these 100+ images are cases where a photo was taken and then drawn on using a Drawing type column?

Yes, the 100+ images were taken using drawing type column.

@Adam-google 

Hi Adam, again today my app can't run the PDF file successfully. 

We didnt' change any setting. The +100 images are in drawing column saving as "jpg" file. 

We had run this app for more than 1 year and the PDF worked fine without any problem until last time you mentioned that appsheet is making some adjustment about the image file.  

Do you have any idea about my issue? We need  the PDF report for our customer. 

 

 

 

Top Labels in this Space