Skip to content

Commit

Permalink
Fix for D/Decode operand. Fixes #149
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnsth committed Mar 22, 2018
1 parent 413dcd7 commit 5b17c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf/contentstream/inline-image.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ func (this *ContentStreamParser) ParseInlineImage() (*ContentStreamInlineImage,
im.BitsPerComponent = valueObj
} else if *param == "CS" || *param == "ColorSpace" {
im.ColorSpace = valueObj
} else if *param == "D" {
} else if *param == "D" || *param == "Decode" {
im.Decode = valueObj
} else if *param == "DP" || *param == "DecodeParms" {
im.DecodeParms = valueObj
Expand Down

0 comments on commit 5b17c89

Please sign in to comment.