mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-05 04:25:29 -04:00
PSD header error message clean-up.
This commit is contained in:
parent
3ef93b6758
commit
82c6cce997
@ -29,7 +29,6 @@
|
|||||||
package com.twelvemonkeys.imageio.plugins.psd;
|
package com.twelvemonkeys.imageio.plugins.psd;
|
||||||
|
|
||||||
import javax.imageio.IIOException;
|
import javax.imageio.IIOException;
|
||||||
|
|
||||||
import java.io.DataInput;
|
import java.io.DataInput;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
@ -120,7 +119,7 @@ final class PSDHeader {
|
|||||||
case PSD.COLOR_MODE_LAB:
|
case PSD.COLOR_MODE_LAB:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new IIOException(String.format("Unsupported mode depth for PSD: %d", mode));
|
throw new IIOException(String.format("Unsupported color mode for PSD: %d", mode));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user