473,396 Members | 1,871 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.

Rendering Vector Graphics

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
thinking of something like 'cairo', though I need to run under win32
and can't find a pycairo package for it. Suggestions?

Thanks,

Hugo Ferreira

Aug 11 '06 #1
5 3443
I need to render high-quality vector graphics with Python. I was
thinking of something like 'cairo', though I need to run under win32
and can't find a pycairo package for it. Suggestions?
I've had good experiences doing simple 3d vector stuff with Pygame.
It's wraps SDL so it has pretty nice capabilities.

Aug 11 '06 #2
Hi!

h1*****@gmail.com wrote:
I need to render high-quality vector graphics with Python. I was
thinking of something like 'cairo', though I need to run under win32
and can't find a pycairo package for it. Suggestions?

I've had good experiences doing simple 3d vector stuff with Pygame.
It's wraps SDL so it has pretty nice capabilities.
What about 2D? I won't be doing any 3d stuff, though I need
high-quality 2D, and complex stuff like defining clipping regions with
bezier curves and filling with gradients.

Thanks!

Hugo Ferreira

Aug 11 '06 #3
Bytter wrote:
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
thinking of something like 'cairo', though I need to run under win32
and can't find a pycairo package for it. Suggestions?
AGG (Anti-Grain Geometry) is one such engine that a couple of people
have interfaced to Python.
http://www.antigrain.com/

....
jay graves

Aug 11 '06 #4

Bytter wrote:
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
thinking of something like 'cairo', though I need to run under win32
and can't find a pycairo package for it. Suggestions?

Thanks,

Hugo Ferreira
Hi,

You can use cairo through the pyGTK bindings. Works pretty well for me.

Cheers,
Yannick

Aug 11 '06 #5
jay graves wrote:
Bytter wrote:
>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
thinking of something like 'cairo', though I need to run under win32
and can't find a pycairo package for it. Suggestions?
AGG (Anti-Grain Geometry) is one such engine that a couple of people
have interfaced to Python.
http://www.antigrain.com/
Here are a couple of AGG wrappers for Python:
1) Fredrik Lundh's aggdraw allows you to draw AGG graphics on top of PIL
images.
2) You can also check out my dvpaint module. http://tachyon.in/davinci/
(It is a part of a larger vector graphics project which i hope to work
on sometime in the future.)

[sreeram;]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE3I1ergn0plK5qqURAox8AJ9aM6E/X0+mCl8c6W6b2Uy6AlE3wwCgiYdA
T5G34Fa42s2Rl6NoOse0GXc=
=db/X
-----END PGP SIGNATURE-----

Aug 11 '06 #6

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

Similar topics

0
by: kevin gordon | last post by:
Attn: .NET, XML and SVG (Scalable Vector Graphics) Developers.... MOBIFORM Software Ltd. has now made beta copies of its SVG Browser and SVGViewPlus component available for download. The...
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...
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...
5
by: Dave A | last post by:
I am writing an ASP.NET tool that will allow the client to create their own online froms. ie the client can add tect boxes, text, drop downs,etc with absolutely no technical skill what so ever....
1
by: Cédric | last post by:
Hello, Wanting to create a thumbnail of an image, i'm using the following piece of code : Public Sub Reduction(ByVal Source As String, ByVal Destination As String, ByVal TailleX As String,...
1
by: K.S.Sreeram | last post by:
Hi All, I've started working on a new open source graphics library called DaVinci. DaVinci aims to provide a declarative vector graphics based framework for building GUIs. ...
2
by: dwyer.bill | last post by:
Hi, I am trying to create a control that will display a vector image. The main purpose is to allow for the resizing of an image without pixelation. All of our image files are in AI(Adobe...
12
by: gsal | last post by:
What would be the easiest way to go about offering 3D graphics for the purpose of rendering geometry? Suppose engineers (my co-workes) have to design some enclosure, nozzle, bracket, or whatever...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.