I'm trying to get jpg image exports from AIS using javascript, I currently get png (too slow). It works fine using flex. My code is below.dojo.require("esri.map");
function Init() {
dojo.style(dojo.byId("map"), { width: dojo.contentBox("map").w + "px", height: (esri.documentBox.h - dojo.contentBox("navTable").h - 40) + "px" });
var map = new esri.Map("map");
var imageServiceLayer = new esri.layers.ArcGISImageServiceLayer("http://www.geostor.arkansas.gov/ArcGIS/rest/services/IMAGE_SERVICES/2006_1M_Statewide_Ortho/ImageServer");
imageServiceLayer.format = "jpg";
map.addLayer(imageServiceLayer);
}
dojo.addOnLoad(Init);