473,396 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Graphics = Vector to Raster

Is there any native ,Net assemblies or open C# source code that can perform
vector to raster conversion?

Nov 16 '05 #1
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
Nov 16 '05 #2
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

Nov 16 '05 #3
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


Nov 16 '05 #4
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! =-----
Nov 16 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
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...
3
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...
0
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...
2
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 --
2
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...
5
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...
2
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,...
6
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,"");...
3
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...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
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...
0
tracyyun
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...
0
agi2029
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.