Skip to content

Commit

Permalink
Add support for vips_gamma() function for adjusting the gamma of the …
Browse files Browse the repository at this point in the history
…image
  • Loading branch information
jawngee committed Jun 3, 2024
1 parent b4e31bd commit 9059fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vips/image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ func TestImageRef_SetGamma(t *testing.T) {
require.NoError(t, err)
require.Equal(t, 8, image.Pages())

err = image.Gamma(2.4)
err = image.Gamma(1.0 / 2.4)
require.NoError(t, err)
}

Expand Down

0 comments on commit 9059fe2

Please sign in to comment.