473,594 Members | 2,742 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Image Processing (batch)

Hi,

I tried PIL for image batch processing. But somehow I don't like it
- Font-Selection: You need to give the name of the font file.
- Drawing on an image needs a different object that pasting and saving.
- The handbook is from Dec. 2006.

What image libraries do you suggest?

I think there are these alternatives:
- Python binding for image magick
- python-gtk
- python-gdk-imlib
- call convert (imagemagick) with subprocess. This is how I did
it up to now. But I want to avoid it.

Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Jun 27 '08 #1
6 1983
Thomas Guettler schrieb:
Hi,

I tried PIL for image batch processing. But somehow I don't like it
- Font-Selection: You need to give the name of the font file.
- Drawing on an image needs a different object that pasting and saving.
- The handbook is from Dec. 2006.

What image libraries do you suggest?
try :
http://photobatch.stani.be/
hth

Herbert
Jun 27 '08 #2
Thomas Guettler wrote:
I tried PIL for image batch processing. But somehow I don't like it
- Font-Selection: You need to give the name of the font file.
- Drawing on an image needs a different object that pasting and saving.
- The handbook is from Dec. 2006.

What image libraries do you suggest?
I haven't looked at it yet, but I was thrilled to hear that GIMP
(www.gimp.org) had the ability to be extended via Python scripts. Maybe
that would help?

Uli

--
Sator Laser GmbH
Geschäftsführ er: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

Jun 27 '08 #3
Weinhandl Herbert schrieb:
Thomas Guettler schrieb:
>Hi,

I tried PIL for image batch processing. But somehow I don't like it
- Font-Selection: You need to give the name of the font file.
- Drawing on an image needs a different object that pasting and saving.
- The handbook is from Dec. 2006.

What image libraries do you suggest?

try :
http://photobatch.stani.be/
This is a GUI, my processing needs to be done on the server. I need
a library with Python API. photobatch uses PIL, so I think I would not
gain much. Does photobatch improve font loading?

BTW, the homepage of this project uses frames. The URL does not change, ...
you can't send links or bookmark pages.

Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
Jun 27 '08 #4
Thomas Guettler <hv@tbz-pariv.dewrote:
>
I tried PIL for image batch processing. But somehow I don't like it
- Font-Selection: You need to give the name of the font file.
- Drawing on an image needs a different object that pasting and saving.
- The handbook is from Dec. 2006.
I have repeatedly seen the attitude in your last point, and I simply do not
understand it. What on Earth is wrong with having a product that actually
becomes stable?

We all complain about Microsoft's feature bloat, rolling out unnecessary
new releases of their products year after year with features that no one
really needs. But when an open source product FAILS to produce a new
release every six weeks, we start seeing posts questioning whether the
product is still viable or has become abandonware.

Once a product does the job it was designed to do, IT'S DONE.

Personally, I think PIL is a great solution for batch processing, but the
beauty of the open source world is that the ARE alternatives.
--
Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jun 27 '08 #5
Tim Roberts wrote:
Thomas Guettler <hv@tbz-pariv.dewrote:
>>
I tried PIL for image batch processing. But somehow I don't like it
- Font-Selection: You need to give the name of the font file.
- Drawing on an image needs a different object that pasting and saving.
- The handbook is from Dec. 2006.

I have repeatedly seen the attitude in your last point, and I simply do
not understand it. What on Earth is wrong with having a product that
actually becomes stable?
Nothing, and it is correct pointing that out. OTOH, there are billions of
open source projects out there that started with an idea but never entered
that finished state where they are useful, so-called abandonware. If the
documentation is old, it is either stable or abandoned. Only a closer look
can tell which of both, but statistically it is more likely that it is
abandoned, sad as it is.

Peace!

Uli

--
Sator Laser GmbH
Geschäftsführ er: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

Jun 27 '08 #6
On Thu, 05 Jun 2008 07:10:56 +0000, Tim Roberts wrote:
Thomas Guettler <hv@tbz-pariv.dewrote:
>>
I tried PIL for image batch processing. But somehow I don't like it
- Font-Selection: You need to give the name of the font file. -
Drawing on an image needs a different object that pasting and saving.
- The handbook is from Dec. 2006.
I don't want to dissapoint you but PIL font handling sucks terribly.
I have repeatedly seen the attitude in your last point, and I simply do
not understand it. What on Earth is wrong with having a product that
actually becomes stable?

We all complain about Microsoft's feature bloat, rolling out unnecessary
new releases of their products year after year with features that no one
really needs. But when an open source product FAILS to produce a new
release every six weeks, we start seeing posts questioning whether the
product is still viable or has become abandonware.
I think if you really TRY to create your own project you'll understand
what's going on here.

From near 10 open source projects that I've started only 1 is living
today.
Once a product does the job it was designed to do, IT'S DONE.
Because there's no such thing as "do the job you where designed to do"
Example: designed for image manipulation. No matter how many features
you've already implemented there's always something more to do.
Personally, I think PIL is a great solution for batch processing, but
the beauty of the open source world is that the ARE alternatives.
Yes, it's open source, and everybody will win if you'll extend PIL to do
what you want.

Really, I do have some working snippets of code that do handle fonts
nicely with PIL images, read and parse OpenType tables, but I can't
publish it because it's optimized for my private needs like only two
languages: Russian and English.

I had to rewrite PIL's FreeType layer from scratch to do what I want.

You can do the same.

Ivan
Jun 27 '08 #7

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

Similar topics

4
2916
by: Jason Murry | last post by:
I have a camera system (Axis) which stores JPG via FTP 1-10fps. There is also a motion jpg live stream. I am trying to store these images either in JPG or in video format so they can be reviewed at a later date. I would need to be able to pull a date-time range from the list. This means 86,400 - 2,160,000 images (around 110Kb a piece) per camera a day, depending on speed 1fps - 10fps. There will probably be 1-5 cameras typically. ...
3
4450
by: tlviewer | last post by:
hello, The script below is a prototype for loading playing card images from the bitmap resource in cards.dll (WinXP) I like the idea of not keeping copies of the images as files. I'm able to extract the card images as files, then load them in pygame as a surface, but I keep getting errors
3
8728
by: Terry Carroll | last post by:
I've got a small batch image-processing program (it adds the time a digital photo was taken to the lower right of the image), and as a feature, I wanted to show a thumbnail of each image it was being processed. I can't get the image to update, though. I trimmed it down to a basic app indicating the problem and the code is at the end of this message. It should display the three listed sample images, one after another. The thing is,...
9
2254
by: Fred | last post by:
Hello, I would like to dynamically add a text as a watermark on images. I managed to do that with aspsmartimage but as the watermark is added when the image is sent to the browser, it takes too much ressources on the server, due to a big number of images to diplay simultaneously. Is there a way or an other component to do that more efficiently. I can't add the watermark when uploading the file because it has to be
2
5246
by: | last post by:
Hi, I have just started using MSSQL and the DOS environment at work. I have a lot of experience with Sybase and the UNIX environment, but this is a whole new ball of wax. I'd like to use osql from a batch file to log into the dataserver and run a fairly long list of SQL and then exit. I don't want to have a bunch of SQL files sitting around that I have to use the -i option to run, and I'd rather not create temporary SQL files like...
4
18688
by: acantatore | last post by:
Hello! I'm looking for patterns, best practices, examples - reference material - that apply to Batch Processing, that is: Basic job control (start and stop) Job partitioning Parallel processing and distribution Fine-grained transaction control Error handling
10
5712
by: Enrique Cruiz | last post by:
Hello all, I am currently implementing a fairly simple algorithm. It scans a grayscale image, and computes a pixel's new value as a function of its original value. Two passes are made, first horizontally and second vertically. The problem I have is that the vertical pass is 3 to 4 times slower than the horizontal, although the code is _exactly_ the same in both cases?! The code itself is very simple. There are 2 loops to scan through...
1
15057
ADezii
by: ADezii | last post by:
Transaction Processing is a Database term that refers to the process of grouping changes to your data into a batch that is treated as a single, atomic unit. Either the entire batch of transactions succeeds, or they all fail. A typical illustration of a Transaction is the transferring of data from one account to another in a banking application. You wouldn’t want your originating account debited a specific amount, have an error occur, and not...
0
2009
by: tavares | last post by:
(Our apologies for cross-posting. We appreciate if you kindly distribute this information by your co- workers and colleagues.) *************************************************************************** Symposium Image Processing and Data Visualization 2nd South-East European Conference on Computational Mechanics (SEECCM 2009) Island of Rhodes, Greece, 22-24 June 2009
0
7946
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
7876
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8372
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8234
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6654
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5408
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3897
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1478
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1210
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.