Spectrum Integration
  • Introduction
  • Ecommerce
    • Front End Integration
    • Load Design
    • Add to Cart
    • Save Design
    • Generate Cart Item
    • Pricing & Availability
    • Order Acknowledgement
    • Shipment Notification
    • Update Order Status
    • Order Search
    • Integration Driver
    • Production Related File Delivery
    • Spectrum + Shopify Integration
      • Overall Flow
      • Product Set Up: "Add-ons"
      • Line Item Properties
      • Shopify Cart
      • Order Processing
  • API
    • Environments
    • Image QueryString API
      • Image Transforms
      • Image Filters
      • Image Encoding
    • Rendering
    • WebToPrint (W2P)
    • Assets
    • Rate Limiting
  • Marketing
    • Share
  • General
    • Glossary
Powered by GitBook
On this page

Was this helpful?

  1. API
  2. Image QueryString API

Image Encoding

Image Encoding operation allow control of the type file to return.

QueryString API

  • format=png|gif|jpeg|webp determines the format to encode the image as. Defaults to the original format.

  • jpeg.quality=0..100 determines the jpeg encoding quality. Default is 90

  • jpeg.progressive=true enables progressive jpeg encoding.

  • jpeg.turbo=true encodes files faster at the expense of file size.

  • webp.quality=0..100 determines the webp encoding quality.

  • webp.lossless=true enables lossless webp encoding. Default false

  • png.lossless=false disables lossless PNG encoding. Default true unless png.quality is specified.

  • png.quality=0..100 determines lossy png quality. Default 100.

  • png.min_quality=0..100 determines the minimum png quality that must be realized before lossless is used. Default 0

PreviousImage FiltersNextRendering

Last updated 4 years ago

Was this helpful?