Google script : how to resize image in blob?

后端 未结 3 787
小蘑菇
小蘑菇 2020-12-22 07:07

I have a blob containing an image that is remotely loaded and created in Google Drive:

var response = UrlFetchApp.fetch(fileURL);
var fileBlob = response.get         


        
3条回答
  •  北荒
    北荒 (楼主)
    2020-12-22 07:21

    There isn't any API call to resize images on apps script, you could use a third party service like tinypng or some others as there isn't nothing native on apps script.

提交回复
热议问题