Skip to content

Commit

Permalink
test(vips): png filters palette, bitdepth, compression
Browse files Browse the repository at this point in the history
* test(vips): png filters palette, bitdepth, compression

* test: update golden files
  • Loading branch information
cshum authored Sep 26, 2023
1 parent c5c49ee commit 12396e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions vips/processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func TestProcessor(t *testing.T) {
{name: "proportion", path: "filters:proportion(10)/gopher.png"},
{name: "proportion float", path: "filters:proportion(0.1)/gopher.png"},
{name: "resize orient", path: "100x200/left/filters:orient(90)/gopher.png"},
{name: "png params", path: "200x200/filters:format(png):palette():bitdepth(4):compression(8)/gopher.png"},
{name: "fit-in unspecified height", path: "fit-in/50x0/filters:fill(white):format(jpg)/Canon_40D.jpg"},
{name: "resize unspecified height", path: "50x0/filters:fill(white):format(jpg)/Canon_40D.jpg"},
{name: "fit-in unspecified width", path: "fit-in/0x50/filters:fill(white):format(jpg)/Canon_40D.jpg"},
Expand Down

0 comments on commit 12396e8

Please sign in to comment.