-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
I am facing some resolution issue while transforming the image through Blobkey.
The resolution of transformed images are getting poor. Can you please let me know if there is any option or parameter which needs to be set to maintain the same resolution as original image. Below are the code snippet for resizing and transforming. I am running my app from Google Cloud App Engine.
Creating BlobKey:
BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService();
BlobKey blobKey = blobstoreService.createGsBlobKey("/gs/" + bucket + "/" + object.getName());
Creating Image from Blobkey:
Image blobImage = ImagesServiceFactory.makeImageFromBlob(blobKey);
Transforming and resizing Image with custom height and width:
Transform resize = ImagesServiceFactory.makeResize(width, height);
Image resizeImage = imagesService.applyTransform(resize, blobImage);
Metadata
Metadata
Assignees
Labels
No labels