[ 
https://issues.apache.org/jira/browse/PDFBOX-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13913837#comment-13913837
 ] 

John Hewson edited comment on PDFBOX-1094 at 2/27/14 1:03 AM:
--------------------------------------------------------------

{quote}
Page 13 of the tracemonkey file is now "blocky", this wasn't before.
{quote}

This seems like a regression but it isn't really, it's a manifestation of the 
problem with AWT Paint. The previous code worked because of a fluke which is 
not present in my implementation. The same applies to the tiling_pattern file.

I'm going to conduct some experiments with AWT Paint and report on the results 
soon so that we can figure out how to solve the problem. Rendering the patterns 
using the pattern coordinate system is *not* a good solution. The files we have 
_just so happen_ to use a pattern matrix with a scaling > 1 and so the patterns 
that now look pixelated appeared crisp previously, however there is no reason 
why a pattern cannot use a scaling of < 1 which would give results even more 
pixellated than the current solution!


was (Author: jahewson):
{quote}
Page 13 of the tracemonkey file is now "blocky", this wasn't before.
{quote}

This seems like a regression but it isn't really, it's a manifestation of the 
problem with AWT Paint. The previous code worked because of a fluke which is 
not present in my implementation. The same applies to the tiling_pattern file.

I'm going to conduct some experiments with AWT Paint and report on the results 
soon so that we can figure out how to solve the problem. Rending the patterns 
using the pattern coordinate system is *not* a good solution. The files we have 
_just so happen_ to use a pattern matrix with a scaling > 1 and so the patterns 
that now look pixelated appeared crisp previously, however there is no reason 
why a pattern cannot use a scaling of < 1 which would give results even more 
pixellated than the current solution!

> Pattern colorspace support
> --------------------------
>
>                 Key: PDFBOX-1094
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1094
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 1.6.0
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>         Attachments: ColoredTilingPaint.patch, PDF32000_2008_pg737.pdf, 
> PDFStreamEngine.patch, PageDrawer.patch, 
> _pdfbox-1094-tiling_pattern.pdf-1-blurry.png, jagpdf_doc_patterns.pdf, 
> jagpdf_doc_patterns.pdf-1.png, pdfbox-1094-pdf32000_2008_pg737.pdf-1.png, 
> pdfbox-1094-pdf32000_2008_pg737.pdf-1.png, 
> pdfbox-1094-tiling_pattern.pdf-1.png, pdfbox-1094-tiling_pattern.pdf-1.png, 
> pdfbox-1094-tiling_pattern.pdf-1.png, pdfbox-1861-tracemonkey.pdf-13.png, 
> pdfbox-1861-tracemonkey.pdf-13.png, tiling_pattern.pdf
>
>
> PDFBox doesn't support PDPattern colorspaces



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to