Leave the images in 8-bit format when we return them from the tileset
bundle so that we can recolor them if we later desire. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1356 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
//
|
||||
// $Id: TileSetBundle.java,v 1.5 2001/12/07 01:33:29 mdb Exp $
|
||||
// $Id: TileSetBundle.java,v 1.6 2002/05/09 16:51:26 mdb Exp $
|
||||
|
||||
package com.threerings.media.tile.bundle;
|
||||
|
||||
import java.awt.Image;
|
||||
import javax.imageio.ImageIO;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
@@ -83,7 +84,8 @@ public class TileSetBundle
|
||||
"[bundle=" + _bundle + ", path=" + path + "].";
|
||||
throw new FileNotFoundException(errmsg);
|
||||
}
|
||||
return _imgr.createImage(imgin);
|
||||
// return _imgr.createImage(imgin);
|
||||
return ImageIO.read(imgin);
|
||||
}
|
||||
|
||||
// custom serialization process
|
||||
|
||||
Reference in New Issue
Block a user