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
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.