import psd.parser.PsdInputStream; //导入方法依赖的package包/类
/**
* Parses the stream to create a DropShadow effect (outer and inner).
* @param stream
* @param inner
* @return
* @throws IOException
*/
private PSDEffect parseDropShadow(PsdInputStream stream, boolean inner) throws IOException {
int version = stream.readInt(); //0 (Photoshop 5.0) or 2 (Photoshop 5.5)
int blur = stream.readShort(); //Blur value in pixels (8)
int intensity = stream.readInt(); //Intensity as a percent (10?)
int angle = stream.readInt(); //Angle in degrees(120)
int distance = stream.readInt(); //Distance in pixels(25)
//2 bytes for space
stream.skipBytes(4);
int colorR = stream.readUnsignedByte();
stream.skipBytes(1);
int colorG = stream.readUnsignedByte();
stream