mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-14 18:05:55 -07:00
refactor: vips.h, fix(docs):
This commit is contained in:
parent
b55834edf2
commit
51c320fab7
3 changed files with 32 additions and 20 deletions
|
|
@ -190,6 +190,16 @@ func BenchmarkConvertToJpeg(b *testing.B) {
|
|||
runBenchmarkResize("test.png", options, b)
|
||||
}
|
||||
|
||||
func BenchmarkConvertToPng(b *testing.B) {
|
||||
options := Options{Type: PNG}
|
||||
runBenchmarkResize("test.jpg", options, b)
|
||||
}
|
||||
|
||||
func BenchmarkConvertToWebp(b *testing.B) {
|
||||
options := Options{Type: WEBP}
|
||||
runBenchmarkResize("test.jpg", options, b)
|
||||
}
|
||||
|
||||
func BenchmarkCropJpeg(b *testing.B) {
|
||||
options := Options{
|
||||
Width: 800,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue