mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-01-05 11:29:43 +00:00
Update HiResImage.java
This commit is contained in:
parent
c70850646d
commit
7fa5eb6a00
@ -71,6 +71,10 @@ public abstract class HiResImage extends AbstractFile
|
|||||||
// packed unpacked
|
// packed unpacked
|
||||||
// $06.3200 1
|
// $06.3200 1
|
||||||
// $06.3201 .
|
// $06.3201 .
|
||||||
|
// $08 0000 .
|
||||||
|
// $08 4000 .
|
||||||
|
// $08 4001 .
|
||||||
|
// $08 8066 .
|
||||||
// $C0 0000 1
|
// $C0 0000 1
|
||||||
// $C0 0001 $C1 0000 2 1
|
// $C0 0001 $C1 0000 2 1
|
||||||
// $C0 0002 1
|
// $C0 0002 1
|
||||||
@ -148,13 +152,15 @@ public abstract class HiResImage extends AbstractFile
|
|||||||
protected void createImage ()
|
protected void createImage ()
|
||||||
// ---------------------------------------------------------------------------------//
|
// ---------------------------------------------------------------------------------//
|
||||||
{
|
{
|
||||||
if (failureReason.isEmpty ())
|
if (!failureReason.isEmpty ())
|
||||||
if (isGif (buffer) || isPng (buffer) || isBmp (buffer) || isTiff (buffer))
|
return;
|
||||||
makeImage ();
|
|
||||||
else if (monochrome)
|
if (isGif (buffer) || isPng (buffer) || isBmp (buffer) || isTiff (buffer))
|
||||||
createMonochromeImage ();
|
makeImage ();
|
||||||
else
|
else if (monochrome)
|
||||||
createColourImage ();
|
createMonochromeImage ();
|
||||||
|
else
|
||||||
|
createColourImage ();
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------------//
|
// ---------------------------------------------------------------------------------//
|
||||||
|
Loading…
Reference in New Issue
Block a user