Skip to content

Commit 12396e8

Browse files
authored
test(vips): png filters palette, bitdepth, compression
* test(vips): png filters palette, bitdepth, compression * test: update golden files
1 parent c5c49ee commit 12396e8

File tree

2 files changed

+1
-0
lines changed
  • testdata/golden/200x200/filters%3Aformat%28png%29%3Apalette%28%29%3Abitdepth%284%29%3Acompression%288%29
  • vips

2 files changed

+1
-0
lines changed

vips/processor_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ func TestProcessor(t *testing.T) {
9797
{name: "proportion", path: "filters:proportion(10)/gopher.png"},
9898
{name: "proportion float", path: "filters:proportion(0.1)/gopher.png"},
9999
{name: "resize orient", path: "100x200/left/filters:orient(90)/gopher.png"},
100+
{name: "png params", path: "200x200/filters:format(png):palette():bitdepth(4):compression(8)/gopher.png"},
100101
{name: "fit-in unspecified height", path: "fit-in/50x0/filters:fill(white):format(jpg)/Canon_40D.jpg"},
101102
{name: "resize unspecified height", path: "50x0/filters:fill(white):format(jpg)/Canon_40D.jpg"},
102103
{name: "fit-in unspecified width", path: "fit-in/0x50/filters:fill(white):format(jpg)/Canon_40D.jpg"},

0 commit comments

Comments
 (0)