georeference.org
Subscribe to this thread
Home - Scripting / All posts - How to Export Drawing as Jpeg directly into FileStream?
ghelobytes97 post(s)
#17-Nov-08 01:05

Hi guys!

Anyone knows how to export a drawing as JPEG (sort of snapshot) directly

into FileStream object?

TIA!

BTW: I'm trying to do this on WinForm.


ghelo.arboleda

namria, philippines

ghelobytes@yahoo.com

KlausDE


3,275 post(s)
online
#17-Nov-08 01:38

AdamW knows for the mapserver and for a Manifold application.

ghelobytes97 post(s)
#17-Nov-08 06:30

Hi KlauseDE!

From the link you gave above, I guess you are referring to these:

code

But even these code snippet doesn't "directly" render/stream the image to

FileStream. Instead, a temporary file is created (testgif.gif) which will be

read from the FileSystem later.

My life would have been easier if what I'm developing is a web application since

mapServer.Render() is so easy to use. Unfortunately its not!

Worst case scenario: I will resort to the "temporary file" path...


ghelo.arboleda

namria, philippines

ghelobytes@yahoo.com

0 msec Copyright (C) 2007-2008 Manifold.net. All rights reserved.