This commit is contained in:
Denis Molony 2019-11-24 23:26:45 +10:00
parent 78bac51ed4
commit 102d84f460
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ resources/buildNumber
/bin/
.project
.classpath
build.xml

View File

@ -111,6 +111,11 @@ public class SHRPictureFile2 extends HiResImage
break;
case 0x1000: // seems to be a PIC/$00
if (buffer.length < 32768)
{
failureReason = "file size not 32,768";
break;
}
controlBytes = new byte[rows];
System.arraycopy (buffer, 32000, controlBytes, 0, controlBytes.length);