Package com.blitline.image

Examples of com.blitline.image.BlitlineImageJob$Builder


    @RequestParam(required = false) String postbackUrl
    ) {
    if("auto".equals(postbackUrl))
      postbackUrl = postbackUrlProvider.getPostbackUrl();

    BlitlineImageJob job = bis.jobBuilder().fromUrl(sourceImage).withPostback(postbackUrl).apply(
      Blitline.cropToSquare().thenApply(
        Blitline.sepiaFilter().thenApply(
          Blitline.rotateBy(90.).andSaveResult(imageIdentifier)
          )
        )
View Full Code Here


    @RequestParam(required = false) String postbackUrl
    ) {
    if("auto".equals(postbackUrl))
      postbackUrl = postbackUrlProvider.getPostbackUrl();

    BlitlineImageJob job = bis.jobBuilder().fromUrl(sourceImage).withPostback(postbackUrl).apply(
      Blitline.cropToSquare().thenApply(
        Blitline.sepiaFilter().thenApply(
          Blitline.rotateBy(90.).andSaveResult(imageIdentifier)
          )
        )
View Full Code Here

  @RequestMapping("/blitline/{imageIdentifier}")
  public BlitlinePostResults runJob(
    @PathVariable String imageIdentifier,
    @RequestParam(defaultValue = BLITLINE_SAMPLE_IMAGE_URL) String sourceImage
    ) {
    BlitlineImageJob job = bis.jobBuilder().fromUrl(sourceImage).apply(
      Blitline.cropToSquare().thenApply(
        Blitline.sepiaFilter().thenApply(
          Blitline.rotateBy(90.).andSaveResult(imageIdentifier)
          )
        )
View Full Code Here

TOP

Related Classes of com.blitline.image.BlitlineImageJob$Builder

Copyright © 2018 www.massapicom. 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.