mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Force map tiler to save Water.jpg as an actual jpeg format it seems even though we specified jpg extention it was actually a png and thus confusing the viewer silently.
This commit is contained in:
@@ -86,7 +86,7 @@ namespace OpenSim.Services.MapImageService
|
|||||||
{
|
{
|
||||||
Bitmap waterTile = new Bitmap(IMAGE_WIDTH, IMAGE_WIDTH);
|
Bitmap waterTile = new Bitmap(IMAGE_WIDTH, IMAGE_WIDTH);
|
||||||
FillImage(waterTile, m_Watercolor);
|
FillImage(waterTile, m_Watercolor);
|
||||||
waterTile.Save(m_WaterTileFile);
|
waterTile.Save(m_WaterTileFile, ImageFormat.Jpeg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user