Skip to content

Commit

Permalink
Update color calculation of non-isolated transparency group
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Oct 3, 2024
1 parent 849f018 commit 2d396c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ private List<PDGroup> getGroup() {

public PDColorSpace getBlendingColorSpace() {
org.verapdf.pd.PDGroup group = ((org.verapdf.pd.images.PDXForm) this.simplePDObject).getGroup();
if (group == null || !ASAtom.TRANSPARENCY.equals(group.getSubtype())) {
if (group == null || !ASAtom.TRANSPARENCY.equals(group.getSubtype()) || !group.isIsolated()) {
return null;
}
PDColorSpace colorSpace = group.getColorSpace();
Expand Down

0 comments on commit 2d396c1

Please sign in to comment.