Query
Friday 09 February 2001
2001-02-09 02:15:20 (2 decades ago) by Per Hedbor <ph@opera.com>
- Roxen/server/base_server/roxen.pike (cvsrev: 1.630) (+171/-56)(227 lines)
branch: 5.2
[docs] New arguments for the image-cache: crop=guides-cross [guides-index=x,y]: Crop _around_ the point specified by the intersection of the two guides. Useful with max-width=.. and max-height=..., primary for thumbnail generation.
crop=guides-region [guides-index=x1,y1[-x2,y2]] Crop to the specified region before doing any scales. Also useful with max-width=... and max-height=... for thumbnail generation. If guides-index is x1,y1, the guides x1,y1 and x1+1,y1+1 will be used, counting from the left and the top, respectively. If both the ending and starting indexes (x2,y2) are specified, thoose guides will be used.