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.
parent
dd2c211e62
commit
ad2ebd2f3d
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue