Tag Archive: Python

Jun
05

Pdf manipulation in Python

For the past few months, apart from the data issue, I am involved in merging multiple pdfs to create a book of reading for the university. Refer to my post: Pdf merging. I am using two different libraries to complete this project: pypdf and reportlab Here is a very simple example of using reportlab library …

Continue reading »

Permanent link to this article: http://lindaocta.com/?p=114

Feb
17

Pdf merging

I hv been spending past few weeks in trying to merging different PDFs into one book to provide a complete reading books for student. With quite a few available python library, this task sound easy. I worked with reportlab, it has a powerful builtin functions, but I do not need these as all I need …

Continue reading »

Permanent link to this article: http://lindaocta.com/?p=75

Jan
21

Converting Transparent GIF to PNG by using pyPIL

1

To modify GIF89a files in PIL (Python Imaging Library) is a bit tricky. Unlike GIF87a, GIF89a supported animation as well as transparent background, however, PIL only support “read” mode of GIF89a. Thus, when there is a need to modify GIF89a file, all the information (e.g. alpha channel) will not be maintained as PIL will save …

Continue reading »

Permanent link to this article: http://lindaocta.com/?p=66

Nov
13

Working in UNO automation of OpenOffice

Currently, I am working as casual programmer in university. One main task that I have been dealing since the first day I started my contract till now is implementing OO UNO automation in our system called ICE. ICE is developed under python 2.4 and uses pyuno bridge to develop UNO component in python so we …

Continue reading »

Permanent link to this article: http://lindaocta.com/?p=6