فهرست منبع

Update changelog and docs with pro features

DarthSim 4 سال پیش
والد
کامیت
bc10a053ed
3فایلهای تغییر یافته به همراه15 افزوده شده و 1 حذف شده
  1. 2 0
      CHANGELOG.md
  2. 11 0
      docs/generating_the_url_advanced.md
  3. 2 1
      docs/image_formats_support.md

+ 2 - 0
CHANGELOG.md

@@ -3,7 +3,9 @@
 ## [Unreleased]
 ## [Unreleased]
 ### Added
 ### Added
 - Ability to skip processing of some formats. See [Skip processing](https://docs.imgproxy.net/#/configuration?id=skip-processing).
 - Ability to skip processing of some formats. See [Skip processing](https://docs.imgproxy.net/#/configuration?id=skip-processing).
+- (pro) PDF support.
 - (pro) [video_thumbnail_second](https://docs.imgproxy.net/#/generating_the_url_advanced?id=video-thumbnail-second) processing option.
 - (pro) [video_thumbnail_second](https://docs.imgproxy.net/#/generating_the_url_advanced?id=video-thumbnail-second) processing option.
+- (pro) [page](https://docs.imgproxy.net/#/generating_the_url_advanced?id=page) processing option.
 - (pro) [background_alpha](https://docs.imgproxy.net/#/generating_the_url_advanced?id=background-alpha) processing option.
 - (pro) [background_alpha](https://docs.imgproxy.net/#/generating_the_url_advanced?id=background-alpha) processing option.
 - (pro) `IMGPROXY_VIDEO_THUMBNAIL_PROBE_SIZE` and `IMGPROXY_VIDEO_THUMBNAIL_MAX_ANALYZE_DURATION` configs.
 - (pro) `IMGPROXY_VIDEO_THUMBNAIL_PROBE_SIZE` and `IMGPROXY_VIDEO_THUMBNAIL_MAX_ANALYZE_DURATION` configs.
 
 

+ 11 - 0
docs/generating_the_url_advanced.md

@@ -422,6 +422,17 @@ gifo:%gif_optimize_frames:%gif_optimize_transparency
 
 
 Allows redefining GIF saving options. All arguments have the same meaning as [Advanced GIF compression](configuration.md#advanced-gif-compression) configs. All arguments are optional and can be omitted.
 Allows redefining GIF saving options. All arguments have the same meaning as [Advanced GIF compression](configuration.md#advanced-gif-compression) configs. All arguments are optional and can be omitted.
 
 
+#### Page <img class="pro-badge" src="assets/pro.svg" alt="pro" />
+
+```
+page:%page
+pg:%page
+```
+
+When source image supports pagination (PDF, TIFF) or animation (GIF, WebP), this option allows specifying the page to use. Pages numeration starts from zero.
+
+Default: 0
+
 #### Video thumbnail second <img class="pro-badge" src="assets/pro.svg" alt="pro" />
 #### Video thumbnail second <img class="pro-badge" src="assets/pro.svg" alt="pro" />
 
 
 ```
 ```

+ 2 - 1
docs/image_formats_support.md

@@ -11,7 +11,8 @@ At the moment, imgproxy supports only the most popular image formats:
 * MP4 <img class="pro-badge" src="assets/pro.svg" alt="pro" />;
 * MP4 <img class="pro-badge" src="assets/pro.svg" alt="pro" />;
 * HEIC _(source only)_;
 * HEIC _(source only)_;
 * BMP;
 * BMP;
-* TIFF.
+* TIFF;
+* PDF _(source only)_ <img class="pro-badge" src="assets/pro.svg" alt="pro" />.
 
 
 ## GIF support
 ## GIF support