aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Modules/LoadImageURLModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs b/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs
index 787e6f1..dc894e4 100644
--- a/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs
+++ b/OpenSim/Region/Environment/Modules/LoadImageURLModule.cs
@@ -126,7 +126,7 @@ namespace OpenSim.Region.Environment.Modules
126 if (response.StatusCode == HttpStatusCode.OK) 126 if (response.StatusCode == HttpStatusCode.OK)
127 { 127 {
128 Bitmap image = new Bitmap(response.GetResponseStream()); 128 Bitmap image = new Bitmap(response.GetResponseStream());
129 Bitmap resize = new Bitmap(image, new Size(512, 512)); 129 Bitmap resize = new Bitmap(image, new Size(1024, 1024));
130 byte[] imageJ2000 = OpenJPEG.EncodeFromImage(resize, true); 130 byte[] imageJ2000 = OpenJPEG.EncodeFromImage(resize, true);
131 131
132 m_textureManager.ReturnData(state.RequestID, imageJ2000); 132 m_textureManager.ReturnData(state.RequestID, imageJ2000);
@@ -146,4 +146,4 @@ namespace OpenSim.Region.Environment.Modules
146 } 146 }
147 } 147 }
148 } 148 }
149} \ No newline at end of file 149}