Package com.google.appengine.api.images

Examples of com.google.appengine.api.images.ServingUrlOptions.crop()


    }

    @Test
    public void servingUrlWithSecureFlagFalse() throws Exception {
        ServingUrlOptions servingUrlOptions = ServingUrlOptions.Builder.withBlobKey(blobKey);
        String url = imagesService.getServingUrl(servingUrlOptions.crop(false));
        assertStartsWith("http://", url);

        url = imagesService.getServingUrl(servingUrlOptions.imageSize(32).crop(false).secureUrl(false));
        assertStartsWith("http://", url);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.