Docs | imagemash.io
DashboardSign up for Free
  • 🎉imagemash.io
  • 🚀Getting Started
    • Simple CDN Link Usage
  • 💽Sources
    • IM Cloud Storage
    • Image URL
    • Storage Providers
      • Amazon S3
      • Google Cloud
      • S3 Compatible Storage
    • Web Folder
  • 🖼️Image Transform
    • Transform Options
      • Quality
      • Width
      • Height
      • Scale
      • Crop
      • Gravity
      • Background
      • Border
      • Round
      • Output Format
      • Angle (Rotate)
      • Flip
      • Helpers
        • x, y
      • Filters
        • Tint
        • Flatten
        • Grayscale
        • Blur
        • Sharpen
        • Median
        • Threshold
        • Negative
    • Transform Cheat Sheet
    • Named Transforms
  • 🛠️API
    • API - Good to knows
    • API Methods
      • Account
        • Named Transforms
          • Get named transforms
          • Add named transform
          • Remove named transform
        • Image URL Restriction
          • Get keyword list
          • Add keyword to list
          • Remove keyword from list
          • Change keyword list usage
      • Storage
        • Upload file
        • Get and search files
        • Delete files
        • Add new tags to files
        • Set tags of files
        • Remove tags from files
        • Purge Cache
      • Optimize / Transform
  • ❓How it works?
    • Custom Domain
    • Bandwidth
    • Cloud Storage
    • Caching
    • Purge Cache
    • Limits
  • Contact Us
Powered by GitBook
On this page
  1. Image Transform
  2. Transform Options

Quality

quality - q - q_<quality value>

PreviousTransform OptionsNextWidth

Last updated 2 years ago

Value
Type
Description

quality value

integer

Default Value: 80

Value can be;

  • An integer value between 0 and 100

Eg. q_80, q_5

Sets image quality between 0 and 100. For lossless optimizations, set quality to 100.

Adjusting quality near 40-50 for large images (>3Mb) generally results in the exact same visual quality and significantly decreased file size.

You can't get %100 original of your image through your CDN Link. Even if you set quality to 100 and select the original , the returned image will be optimized as lossless. That means no visual difference but significantly reduced file size.

The examples below have the exact same dimensions. However, you can also significantly decrease the file size by adjusting your image size. You won't need a 2000x2000 image for a 100x100 area.

Example 1

141.30Kb (Original file)

Example 2

9Kb (%93 smaller)
4.5Kb (%96 smaller)
2.38Mb (Original File)
369Kb (%85 Smaller)
206Kb (%91 Smaller)
75Kb (%97 Smaller)
🖼️
format
https://demo.imagemash.io/eg1.png
https://demo.imagemash.io/q_50/eg1.png
https://demo.imagemash.io/jeep.png
https://demo.imagemash.io/q_50/jeep.png
https://demo.imagemash.io/q_5/jeep.png