Skip to content

Commit

Permalink
Merge pull request #67 from datalogics-josepha/fix-viewer
Browse files Browse the repository at this point in the history
Don't set the bypass parameter.
  • Loading branch information
datalogics-robl authored May 29, 2024
2 parents 92635dc + cc9e5f8 commit 4f73803
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,6 @@ public PageSoBigException(String message) {
params.setFlags(EnumSet.of(DrawFlags.DO_LAZY_ERASE, DrawFlags.USE_ANNOT_FACES));
params.setSmoothFlags(EnumSet.of(SmoothFlags.IMAGE, SmoothFlags.LINE_ART, SmoothFlags.TEXT));
params.setEnableBlackPointCompensation(true);
params.setBypassCopyPerm(true);
// Draw. We get a byte array that has the samples in left-right top-bottom order. may throw OutOfMemoryError
byte[] values = null;
try {
Expand Down

0 comments on commit 4f73803

Please sign in to comment.