Skip to content

Commit 54bfa23

Browse files
committed
warn against thumbnail_image
see #1637 (comment)
1 parent a5680ab commit 54bfa23

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

libvips/resample/thumbnail.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1520,7 +1520,12 @@ vips_thumbnail_image_init( VipsThumbnailImage *image )
15201520
* * @export_profile: %gchararray, export ICC profile
15211521
* * @intent: #VipsIntent, rendering intent
15221522
*
1523-
* Exacty as vips_thumbnail(), but read from an existing image.
1523+
* Exacty as vips_thumbnail(), but read from an existing image.
1524+
*
1525+
* This operation
1526+
* is not able to exploit shrink-on-load features of image load libraries, so
1527+
* it can be much slower than `vips_thumbnail()` and produce poorer quality
1528+
* output. Only use it if you really have to.
15241529
*
15251530
* See also: vips_thumbnail().
15261531
*

0 commit comments

Comments
 (0)