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 Filters

Image filters allow control of shades and colors of the pixels in the image.

QueryString API

  • f.sharpen=0..99 determines how much sharpening to apply when scaling the image.

  • f.sharpenwhen=always|downscaling|sizediffers determines when to sharpen.

  • down.filterdetermines the down-sampling filter to use. Must be one of robidoux, robidoux_sharp, robidoux_fast, ginseng, ginseng_sharp, lanczos, lanczos_sharp , lanczos_2, lanczos_2_sharp , cubic, cubic_sharp, catmull_rom, mitchell, cubic_b_spline, hermite, jinc, triangle, linear, box, fastest, n_cubic, n_cubic_sharp

  • up.filter determines the up-sampling filter to use. See down.filter

  • down.colorspace=srgb downscales in the srgb color space instead of linear RGB. Mimics widespread but bad behavior; destroys image highlights.

  • up.colorspace=srgb up-scales in the srgb color space instead of linear RGB.

  • s.grayscale=true|y|ry|ntsc|bt709|flat transforms the image into grayscale using various methods.

  • s.sepia=true turns the image into sepia tone

  • s.invert=true inverts the image colors in the srgb space

  • s.alpha=0..1 makes the image partially transparent

  • s.contrast=-1..1 adjusts the contrast in the srgb space

  • s.brightness=-1..1 adjusts brightness in the srgb space

  • s.saturation=-1..1 adjusts saturation in the srgb space

PreviousImage TransformsNextImage Encoding

Last updated 4 years ago

Was this helpful?