473,396 Members | 2,102 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.

Vector or Raster?

I am writing a graphics program. It draws images, shapes and text. I want
to be able to zoom and scroll the images it creates.

I also want to be able to email a jpg file to others.

But I am thinking for the windows app, at least when zooming text, using a
local metafile will look much better.

But later I will want to convert it to a bitmap and save it as a jpg.

Here are my questions:
1) Am I correct about using the metafile for the zooming? Any things I
should look out for?

2) I am thinking to save it, I need to create a bitmap object,get a graphics
object from it, and then paint into the graphics object. Is there an easier
way?

Thanks for the Help!
Nov 17 '05 #1
3 2223
Scan throuh the GDI+ FAQ and Windows Forms Tips and Tricks. There are many
articles that pertain to your needs.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"B Maxey" <Ca******@noemail.nospam> wrote in message
news:E0**********************************@microsof t.com...
I am writing a graphics program. It draws images, shapes and text. I want
to be able to zoom and scroll the images it creates.

I also want to be able to email a jpg file to others.

But I am thinking for the windows app, at least when zooming text, using a
local metafile will look much better.

But later I will want to convert it to a bitmap and save it as a jpg.

Here are my questions:
1) Am I correct about using the metafile for the zooming? Any things I
should look out for?

2) I am thinking to save it, I need to create a bitmap object,get a
graphics
object from it, and then paint into the graphics object. Is there an
easier
way?

Thanks for the Help!

Nov 17 '05 #2
Scan throuh the GDI+ FAQ and Windows Forms Tips and Tricks. There are many
articles that pertain to your needs.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"B Maxey" <Ca******@noemail.nospam> wrote in message
news:E0**********************************@microsof t.com...
I am writing a graphics program. It draws images, shapes and text. I want
to be able to zoom and scroll the images it creates.

I also want to be able to email a jpg file to others.

But I am thinking for the windows app, at least when zooming text, using a
local metafile will look much better.

But later I will want to convert it to a bitmap and save it as a jpg.

Here are my questions:
1) Am I correct about using the metafile for the zooming? Any things I
should look out for?

2) I am thinking to save it, I need to create a bitmap object,get a
graphics
object from it, and then paint into the graphics object. Is there an
easier
way?

Thanks for the Help!

Nov 17 '05 #3
Hi,

1. I think you're correct about the metafile for the zooming.

2. I suggest you save it as Vector in the file. Whenever needed to send it
as bitmap, you can draw it directly to graphics objects. This is commonly
used for graphics programs.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Nov 17 '05 #4

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

Similar topics

3
by: R.Marquez | last post by:
Does any one know of a way to convert PDF documents into a raster format, such as TIFF or JPEG? Of course to do it in Python would be my preference, but if you know of another way to do this...
2
by: John Palmer | last post by:
Hi all, This may be a stupid question here, but I need to be able to convert a SVG document into any kind of raster format (PNG, JPG, BMP, GIF, whatever). The catch is that, tho I have a good...
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...
1
by: paul | last post by:
library for querying virtual polygon over raster spatial data in my c++ application, after calculating my polygon i wish to define it (simple 4 sided polygon with floats or line parameters) and...
1
by: John Tempest | last post by:
Please help. I got no response to my previous query "?Using raster fonts as graphics in dotNet?" posted on 7th July. The principal question remains: How can I (if I can at all) select a raster...
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...
4
by: Nick K. | last post by:
Is there any native ,Net assemblies or open C# source code that can perform vector to raster conversion?
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...
7
by: dave | last post by:
Hi All. I've been formulating in my head a simple image editor. I actually started prototyping is some time ago in Java, but am liking Python more and more. My editor will be nowhere near the level...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.