You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jevica Arianne B. Zurbano (JIRA)" <ji...@codehaus.org> on 2009/03/19 16:40:12 UTC

[jira] Created: (MPDF-4) Resize images to fit into the page

Resize images to fit into the page
----------------------------------

                 Key: MPDF-4
                 URL: http://jira.codehaus.org/browse/MPDF-4
             Project: Maven 2.x PDF Plugin
          Issue Type: Improvement
            Reporter: Jevica Arianne B. Zurbano


Image can go way beyond the page width/height.

Reference: http://continuum.apache.org/docs/1.3.2-SNAPSHOT/apache-continuum.pdf page 3.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MPDF-4) Resize images to fit into the page

Posted by "Vincent Siveton (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPDF-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171327#action_171327 ] 

Vincent Siveton commented on MPDF-4:
------------------------------------

It is a resolution problem and NOT a size problem. The image [1] was saved using a 72dpi resolution, which is the default in fop [2].
If you change the resolution to 96 dpi (more modern), the pdf should be correctly displayed.

[1] http://continuum.apache.org/docs/1.3.2/images/configuration.png
[2] http://xmlgraphics.apache.org/fop/0.95/graphics.html#resolution

> Resize images to fit into the page
> ----------------------------------
>
>                 Key: MPDF-4
>                 URL: http://jira.codehaus.org/browse/MPDF-4
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Improvement
>            Reporter: Jevica Arianne B. Zurbano
>
> Image can go way beyond the page width/height.
> Reference: http://continuum.apache.org/docs/1.3.2-SNAPSHOT/apache-continuum.pdf page 3.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MPDF-4) Resize images to fit into the page

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPDF-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170337#action_170337 ] 

Lukas Theussl commented on MPDF-4:
----------------------------------

I don't know if it is possible to auto-determine the size of an arbitrary image. The real problem is that there is no way to specify image sizes in apt, and the width/height parameters of an <img> tag in xdoc are not recognized yet. Will open a separate issue.

> Resize images to fit into the page
> ----------------------------------
>
>                 Key: MPDF-4
>                 URL: http://jira.codehaus.org/browse/MPDF-4
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Improvement
>            Reporter: Jevica Arianne B. Zurbano
>
> Image can go way beyond the page width/height.
> Reference: http://continuum.apache.org/docs/1.3.2-SNAPSHOT/apache-continuum.pdf page 3.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MPDF-4) Resize images to fit into the page

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPDF-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171378#action_171378 ] 

Lukas Theussl commented on MPDF-4:
----------------------------------

You are right, increasing the image resolution will make the image smaller inside the pdf. (I don't know why it works so badly with 72dpi which is supposed to be the fop default.) So this is the only fix of the problem for images in apt files, for xdoc and in general, we have to recognize the size attributes of the img tag.

> Resize images to fit into the page
> ----------------------------------
>
>                 Key: MPDF-4
>                 URL: http://jira.codehaus.org/browse/MPDF-4
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Improvement
>            Reporter: Jevica Arianne B. Zurbano
>
> Image can go way beyond the page width/height.
> Reference: http://continuum.apache.org/docs/1.3.2-SNAPSHOT/apache-continuum.pdf page 3.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MPDF-4) Resize images to fit into the page

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPDF-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed MPDF-4.
----------------------------

         Assignee: Lukas Theussl
       Resolution: Fixed
    Fix Version/s: 1.0

Fixed with DOXIA-304.

> Resize images to fit into the page
> ----------------------------------
>
>                 Key: MPDF-4
>                 URL: http://jira.codehaus.org/browse/MPDF-4
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Improvement
>            Reporter: Jevica Arianne B. Zurbano
>            Assignee: Lukas Theussl
>             Fix For: 1.0
>
>
> Image can go way beyond the page width/height.
> Reference: http://continuum.apache.org/docs/1.3.2-SNAPSHOT/apache-continuum.pdf page 3.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira