x/image/tiff: tiff.Encode panics when using the tiff.LZW compression option #43137
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I tried to create a tiff image with the lzw compression option, example code as following
What did you expect to see?
it encodes the data in tiff format without error or returns an error.
What did you see instead?
it panics (it seems the tiff package does not correctly handle the LZW compression option)
The text was updated successfully, but these errors were encountered: