Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
poppler
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 613
    • Issues 613
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 39
    • Merge Requests 39
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • poppler
  • poppler
  • Issues
  • #344

Closed
Open
Opened Jun 22, 2013 by Bugzilla Migration User@bugzilla-migration

pdftops – avoid excessive or unnecessary rasterization

Submitted by James Cloos @cloos

Assigned to poppler-bugs

Link to original bug (#66056)

Description

Currently PSoutputDev:: forces rasterization whenever the pdf (page?) has any tranparency or uses pattern image masks.

Instead it, as cairo does, should limit rasterization to the size of the non-opaque regions.

In particular, if the only non-opaque objects are images, then those images should be pre-composed and treated as opaque images.

Non-opaque images directly on the background should be composed to white.

Non-opaque images atop a constant opaque vector or image object should be composed to said underlying object’s constant colour and then opaquely painted atop the object.

For everything else, the area with non-opaque objects can be rasterized as the whole page currently is.

Looking at PSOutputDev::, this will take some work.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: poppler/poppler#344