Is there any native ,Net assemblies or open C# source code that can perform
vector to raster conversion? 4 4436
Nick K. wrote: Is there any native ,Net assemblies or open C# source code that can perform vector to raster conversion?
You could use GDI+ to draw the raster for you from your vector commands...
Mikal
But after drawing, using vector commands, can I then save or stream it as a
jpeg image?
"Michael Still" <mi***@stillhq.com> wrote in message
news:41**************@stillhq.com... Nick K. wrote: Is there any native ,Net assemblies or open C# source code that can
perform vector to raster conversion?
You could use GDI+ to draw the raster for you from your vector commands...
Mikal
Hi,
Yes, you'll could.
But first thing is that all drawings should be do on Bitmap object:
Bitmap bmp=new Bitmap(...);
Graphics gfx=Graphics.FromImage(bmp);
// do your drawings
gfx.Dispose();
bmp.Save(..., ImageFormat.Jpeg); // save it as JPEG
HTH :-)
Marcin But after drawing, using vector commands, can I then save or stream it as a jpeg image?
"Michael Still" <mi***@stillhq.com> wrote in message news:41**************@stillhq.com...
Nick K. wrote:
Is there any native ,Net assemblies or open C# source code that can perform vector to raster conversion?
You could use GDI+ to draw the raster for you from your vector commands...
Mikal
Nick K. wrote: But after drawing, using vector commands, can I then save or stream it as a jpeg image?
"Michael Still" <mi***@stillhq.com> wrote in message news:41**************@stillhq.com...
Nick K. wrote:
Is there any native ,Net assemblies or open C# source code that can perform vector to raster conversion?
You could use GDI+ to draw the raster for you from your vector commands...
Mikal
Yes, Image.Save(Stream)
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =----- This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Markus Elfring |
last post by:
Hello,
A lot of clipart libraries offer free raster images.
I am looking for a similar collection for vector graphics.
Do you know a gallery or archive for the following formats?
- Scalable...
|
by: Ska |
last post by:
I've just finished to write the 0.1b release of amanith (
www.amanith.org) a library to handle vector graphics fully written in
ANSI C++ with STL, it's crossplatform (win, linux, bsd, mac, irix for...
|
by: Eric |
last post by:
I'm also interested in finding out more about using vector graphics when
designing the UI in Windows forms applications. I know a lot about GDI+ and
raster graphics, but vector graphics is a new...
|
by: wayne |
last post by:
Hi,
May I know how to use VC++ to write a program that can read a TIFF
image file?
thanks alot
--
|
by: Toble Rone |
last post by:
Im really stuck with this.
I have a propietary GIS system, with a georaphical database (like Oracle
Spatial)... with a lot of gis info and maps.
The point is ... i actually have a very big and...
|
by: Bytter |
last post by:
Hi ppl,
I've already posted this message through the mailing-list, but it seems
it never arrived here. Strange... Anyway:
I need to render high-quality vector graphics with Python. I was...
|
by: san123456789 |
last post by:
Hi..
I am trying to capture the graphics of a usercontrol.... using the following code..
//DLL import
private static extern bool BitBlt(
IntPtr hdcDest,...
|
by: jt |
last post by:
i think i was not clear in my quesiton.
my question actually was how to store a graphics image generated in C.
Eg.
#include<graphics.h>
void main()
{
int gm,gd=DETECT;
initgraph(&gd,&gm,"");...
|
by: RgeeK |
last post by:
Experimenting with graphics in an app: it's AUI based with a few panes,
one of which has a panel containing a few sizers holding UI elements.
One sizer contains a panel that needs some basic...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |