pypdflib-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pypdflib-dev] task #10931: image resizing and placing logic


From: Santhosh Thottingal
Subject: Re: [pypdflib-dev] task #10931: image resizing and placing logic
Date: Tue, 15 Feb 2011 16:22:47 +0530
User-agent: SquirrelMail/1.4.19

On Tue, February 15, 2011 4:11 pm, Vasudev Kamath wrote:
> Sana first get the code from the savannah git. Next try using wiki2pdf
> test which present under samples folder and see how is the placement
> of image in the generated pdf.
> Please go through this thread
> http://lists.wikimedia.org/pipermail/wikimediaindia-l/2011-February/002198.html
> here the issue is mentioned about image is not in proper position.


Basically, the Image widget should have configurable position. If you read
the widgets.py code you can see that all widgets extend a common widget
and that parent widget has coordinates. But this coordinates is not
respected and not implemented now. It is bit tricky to place the image
left, right, middle of the page. The logic for this should take the image
dimensions into consideration.

Once this is done, next step is to get the image "inline" with paragraph.

Anyway first get familiar with the code. then we will discuss how to proceed.

And welcome to the project!. If you have a savannah user Id, pass it to me
or raise a  membership request to pypdflib there itself.

Thanks
Santhosh Thottingal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]