mirror of
https://github.com/imgproxy/imgproxy.git
synced 2024-11-29 08:22:11 +02:00
c51521961f
* Update landing page / README.md * Update GETTING_STARTED.md * Update installation.md * Update getting_the_image_info.md * update signing_the_url.md * Update watermark.md * Update presets.md * Update object_detection.md * Update autoquality.md * Update serving_local_files.md * Update docs/serving_files_from_s3.md * Update configuration.md * Update generating_the_url.md * Update chained_pipelines.md but chained pipelines section is not finished * Update serving_files_from_google_cloud_storage.md * Update new_relic.md * Update prometheus.md * Update datadog.md * Update image_formats_support.md * Update about_processing_pipeline.md * Update healthcheck.md * Update memory_usage_tweaks.md * Remove GIF/ICO/BMP/HEIF/AVIF support sections from docs/image_formats_support.md * Minor fixes of the docs * Update serving_files_from_azure_blob_storage.md * Fix issue with x and y offset for 're' watermark property * Fix params description in docs/watermark.md * Fix Alexander Madyankin GH name * Special thanks to Travis * Fix README Co-authored-by: DarthSim <darthsim@gmail.com>
1.0 KiB
1.0 KiB
About the processing pipeline
imgproxy has a specific processing pipeline tuned for maximum performance. When you process an image with imgproxy, it does the following:
- If the source image format allows shrink-on-load, imgproxy uses it to quickly resize the image to the size that is closest to desired.
- If it is needed to resize an image with an alpha-channel, imgproxy premultiplies one to handle alpha correctly.
- imgproxy resizes the image to the desired size.
- If the image colorspace need to be fixed, imgproxy fixes it.
- imgproxy rotates/flip the image according to EXIF metadata.
- imgproxy crops the image using the specified gravity.
- imgproxy fills the image background if the background color was specified.
- imgproxy applies gaussian blur and sharpen filters.
- imgproxy adds a watermark if one was specified.
- And finally, imgproxy saves the image to the desired format.
This pipeline, using sequential access to source image data, allows for significantly reduced memory and CPU usage — one of the reasons imgproxy is so performant.