473,569 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

using the Filters DLL (image filters)

Hello,

I'm trying to access the Filters-Dll provided by the filters-project
(http://filters.sourceforge.net/index.htm).

Following the advice I got from the Python list -thank you for that-, I
do this using ctypes
(http://starship.python.net/crew/thel...es/index.html).

I can seem to access the image filters now provided by the Dll. But
reading and writing of images is still a problem.
Furthermore, the project is not very well documented. So, I was
wondering whether there are people on this list that have some
experience in using the filters Dll. Maybe they could sent me some
examples of the use of the Dll with Python?

Kind regards,
Dieter

Feb 15 '06 #1
1 1761
Dieter Vanderelst wrote:
Hello,

I'm trying to access the Filters-Dll provided by the filters-project
(http://filters.sourceforge.net/index.htm).
Nice project :)

Following the advice I got from the Python list -thank you for that-,
I do this using ctypes
(http://starship.python.net/crew/thel...es/index.html).
Good choose!

I can seem to access the image filters now provided by the Dll. But
reading and writing of images is still a problem.
What are the problems? Please specify it.
Furthermore, the project is not very well documented. So, I was
wondering whether there are people on this list that have some
experience in using the filters Dll. Maybe they could sent me some
examples of the use of the Dll with Python?
There are a lot of python projects that use ctypes for use libraries
(.dll/.so). You can see them for study and copy that code (like all do :P ).
Start at wnd.sf.net and freeimagepy.sf. net

Kind regards, Dieter


Bye,
Michele
Feb 15 '06 #2

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

Similar topics

0
1825
by: Tim Fitzpatrick | last post by:
Hi all I'm fairly new to Python with PIL and I'm having some problems with the BILINEAR/BICUBIC filters when rotating and transforming images. If I use resize() with NEAREST, BILINEAR and BICUBIC I can clearly see the difference in the filters. But if I use rotate() or transform() then there is no difference, and they all look like...
6
6345
by: TJO | last post by:
Below is some sample code that fades div tags that is not working in IE 6.0.29 on xp sp2. Can anyone help see why the if(ie5) document.getElementById(divID).filters.alpha.opacity lines are not working ? I cannot find a solution yet. THanks <script type="text/javascript" language=javascript> var ie5 = (document.all &&...
1
1612
by: Dieter Vanderelst | last post by:
Dear all, Could anybody tell me whether there are ways to use an existing DLL file in Python without having access to the source code? I'm trying to find a way to use the image filters available in the Filters-project (http://filters.sourceforge.net/) without having to compile or build the DLL myself, which is according to the authors...
2
2057
by: sri2097 | last post by:
Hi all, I have to select a particular file (using the 'Browse') button in Windows. After this I need to populate the 'Open Dialogue Box' with the path of the file I need (I have the entier path of the file I need). Then I need to select the 'Open' Button. Only after this the file I want is attached. Any idea as to how this can be done...
2
1568
by: ray_cam2006 | last post by:
I want to write a programe in graphic mode. As you know in C they allow us to use their font but I want to use Cambodian font, how can I do that ? I waiting for reply ! I hope that all of you help me to solve this problem! Thank in Advance
0
1689
by: kucol | last post by:
Hi guys, I wanted to ask you for help as I am struggling with it second evening already... I have got tables DEVICES and PARTS. One device can consist of multiple parts. But... I have also another table - FILTERS (id int, type int, is_not int,
11
2338
by: eholz1 | last post by:
Hello PHP group, I am using some php code to check the size of images, and then resize or determine new dimension for the image. GD seems quite slow. It takes about 5 seconds (plus or minus) to calulate dimension for 7 jpeg images. I have a 700mhz processor (Pentium III, remember those??)! with almost a gb of memory. Is that the way GD...
9
4144
by: William Krick | last post by:
I'm currently using the following custom Stylish style sheet in Firefox 2.0.0.11... *{ color: black !important ; background: none !important; background- color: white !important } a:link { color: gray !important } a:visited { color: purple !important } a:hover, a:active { color: red !important } img {display: none !important;}
11
5806
by: shapper | last post by:
Hello, I am displaying an image on a few pages. The image size is 50 px height and 50 px width. In some pages I need the image to be 30x30 px in others 40x40 px and in others 50x50px. Can I scale the image using CSS? Thanks,
0
7697
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7968
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6283
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5512
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.