Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/pdfcpu/pdfcpu from 0.8.1 to 0.9.1 #702

Merged
merged 2 commits into from
Nov 17, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 24, 2024

Bumps github.com/pdfcpu/pdfcpu from 0.8.1 to 0.9.1.

Release notes

Sourced from github.com/pdfcpu/pdfcpu's releases.

v0.9.1

Hello dear pdfcpu user!

πŸ‘©πŸ½β€πŸ”¬ This release extends the image command so you can update individual images in a PDF.

It also extends the pdfcpu configuration with parameters for controlling outbound HTTP access and introduces the config version.

Moreover we introduce a config command that lets you reset the config.yml to the current major version whenever pdfcpu issues a corresponding warning or you just feel like it for other reasons.

And we have a nice extension for the booklet command and lots of fixes and parser improvements.

Let's dive right in.. 🀿

Update Images

pdfcpu images list    [-p(ages) selectedPages] -- inFile...
pdfcpu images extract [-p(ages) selectedPages] -- inFile outDir
pdfcpu images update inFile imageFile [outFile] [ objNr | (pageNr Id) ]

Using the new images command you can now update images in your PDF file.

Consider the following use case:

pdfcpu images list gallery.pdf
gallery.pdf:
1 images available (1.8 MB)
Page Obj# β”‚ Id  β”‚ Type  SoftMask ImgMask β”‚ Width β”‚ Height β”‚ ColorSpace Comp bpc Interp β”‚   Size β”‚ Filters
━━━━━━━━━━┿━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━┿━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━┿━━━━━━━━━━━━
   1    3 β”‚ Im0 β”‚ image                  β”‚  1268 β”‚    720 β”‚  DeviceRGB    3   8    *   β”‚ 1.8 MB β”‚ FlateDecode

Extract all images into the current dir:

pdfcpu images extract gallery.pdf .
extracting images from gallery.pdf into ./ ...
optimizing...
writing gallery_1_Im0.png

Let's update the image with Id=Im0 on page=1 with gallery_1_Im0.png:

pdfcpu images update gallery.pdf gallery_1_Im0.png

or update the image object (#3) with logo.png:

pdfcpu images update gallery.pdf logo.png 3

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies for dependabot :) label Oct 24, 2024
@pajlada pajlada enabled auto-merge (squash) October 26, 2024 12:03
@pajlada pajlada disabled auto-merge October 26, 2024 12:36
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/pdfcpu/pdfcpu-0.9.1 branch from 7ff0a82 to 8981c3b Compare October 26, 2024 12:39
@pajlada pajlada enabled auto-merge (squash) November 17, 2024 10:15
Bumps [github.com/pdfcpu/pdfcpu](https://github.com/pdfcpu/pdfcpu) from 0.8.1 to 0.9.1.
- [Release notes](https://github.com/pdfcpu/pdfcpu/releases)
- [Changelog](https://github.com/pdfcpu/pdfcpu/blob/master/.goreleaser.yml)
- [Commits](pdfcpu/pdfcpu@v0.8.1...v0.9.1)

---
updated-dependencies:
- dependency-name: github.com/pdfcpu/pdfcpu
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/pdfcpu/pdfcpu-0.9.1 branch from 8981c3b to d69143f Compare November 17, 2024 10:16
Copy link

codecov bot commented Nov 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 48.92%. Comparing base (a729d93) to head (0c8e1b9).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
internal/resolvers/default/pdf_resolver.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #702   +/-   ##
=======================================
  Coverage   48.92%   48.92%           
=======================================
  Files         109      109           
  Lines        4100     4100           
=======================================
  Hits         2006     2006           
  Misses       2025     2025           
  Partials       69       69           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@pajlada pajlada merged commit 66c06ca into master Nov 17, 2024
10 of 11 checks passed
@pajlada pajlada deleted the dependabot/go_modules/github.com/pdfcpu/pdfcpu-0.9.1 branch November 17, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies for dependabot :)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant