I have written a C# app which adds several dynamic map layers (rasters) to a LocalMapService via SetDynamicWorkspaces(). The dynamic map layers come directly from a GDB on disk. I can access these dynamic layers from the Local Server via the REST interface, but I can see the fetched images have a 'Stretch' function automatically applied to them ('Percent Clip'). I want the bitmap to be returned without modification.
I see from the forum that others have run into similar problems, but I was wondering if there was a programatic solution rather than modifying the GDB itself: