473,486 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Image Libraries

PB
I have been using PIL for generating images, however it does not
easily support operations with transparency etc.

I tried to install aggdraw but it wouldn't compile.

Ideally I'd like something open source so I can adapt it, hopefully
mostly written in python rather than C.

Is there any other decent image libraries for python?

Mar 8 '08 #1
2 1159
Ken
PB wrote:
I have been using PIL for generating images, however it does not
easily support operations with transparency etc.

I tried to install aggdraw but it wouldn't compile.

Ideally I'd like something open source so I can adapt it, hopefully
mostly written in python rather than C.

Is there any other decent image libraries for python?

I use PIL, and I haven't had any difficulty with alpha channel
transparency. But maybe I'm using it for different things than you
(blitting PGN(RGBA) antialiased images mostly). What problems are you
having specifically?

Ken Seehart
Mar 9 '08 #2
PB
Maybe I am unaware of the right way to do it, but the only way I can
think to draw several shapes of different transparencies is to create
an image for each layer and then combine them which seems overly
complex. It would be nice to simply be able to specify colors with an
alpha value combined (ie RGBA) for image draw operations.

Is there a way to do this?

Cheers,

Peter

Ken wrote:
PB wrote:
I have been using PIL for generating images, however it does not
easily support operations with transparency etc.

I tried to install aggdraw but it wouldn't compile.

Ideally I'd like something open source so I can adapt it, hopefully
mostly written in python rather than C.

Is there any other decent image libraries for python?
I use PIL, and I haven't had any difficulty with alpha channel
transparency. But maybe I'm using it for different things than you
(blitting PGN(RGBA) antialiased images mostly). What problems are you
having specifically?

Ken Seehart
Mar 9 '08 #3

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

Similar topics

1
2907
by: Cristina e Cris | last post by:
Hi! How can i open an image in a specific format and using the image like a matrix?? That is: I want open an image in format like matrix as well as i do in Matlab (imshow(image)). I'm sorry but...
1
3182
by: Dan | last post by:
I must develop a (C-sharp) winforms application which should display some relatively large (e.g. 2~5 MB JPEG each) photographic images together with a rich set of related information: the...
5
11637
by: Jigar Mehta | last post by:
Hye Friends!!, Happy New Year!! I am Jigar Mehta from India. Currently I am working on a project in which I need to compress some images on the harddisk... I want to make an engine that reads...
9
2127
by: Job | last post by:
Hi, I would like to find out what ASP/ASP.net can do with image manipulation. Does ASP have built in functions (eg. after upload to server) to manipulate images, like rotate, scale, crop etc.?...
8
1475
by: Christopher Kurtis Koeber | last post by:
Dear All, Recently I created a thread about trying to load a particular ICON image that GDI plus could not load. I realized that GDI plus definitely does not support it because it had a certain...
4
7186
by: Dimitrios Charitatos | last post by:
Hello, I suspect that there is a quite straight forward answer to this, but I can't find it... I want to import an image and extract a matrix (or array) from it with elements showing the RGB...
1
3488
by: Karthik | last post by:
Hi, I have been using GDI+ and Windows Media SDK to get the metadata information for image and audio files respectively. Just incase if someone is not clear as to what I mean by metadata...
14
2780
by: =?Utf-8?B?U2FtdWVs?= | last post by:
Hi, I have a web app that allows others to upload files, and the problem is that if I allow users to upload image files, fake image can be uploaded and cause XSS issues. In the app, I do...
70
1059
by: quickcur | last post by:
hi can anyone explain me to read image to memory from a url it is very easy in java but it is hard to find an complete solution in c/c++. Thanks,
10
8764
by: Benny | last post by:
I am wondering if anyone has a simple approach to detecting the location of boxes and/or lines on an image. For example, if I have an image of a form, and want to find out where all of the boxes...
0
7099
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
7123
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
7175
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...
1
6842
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
7319
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...
1
4864
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.