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.

TeleportWork
nebadon 2013-07-26 14:11:42 -04:00
parent dd2c211e62
commit ad2ebd2f3d
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ namespace OpenSim.Services.MapImageService
{
Bitmap waterTile = new Bitmap(IMAGE_WIDTH, IMAGE_WIDTH);
FillImage(waterTile, m_Watercolor);
waterTile.Save(m_WaterTileFile);
waterTile.Save(m_WaterTileFile, ImageFormat.Jpeg);
}
}
}