
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
jekyll-pdf-thumbnail
Advanced tools
A Jekyll plugin to generate thumbnails for your PDF files
gem 'jekyll-pdf-thumbnail'
plugins:
- jekyll-pdf-thumbnail
.md
files and liquid templates. Example markdown file: ---
title: Homepage
layout: null
pdf_file: /assets/sample_1.pdf
---
# {{ page.title }}
{% assign other_pdf = 'sample_2.pdf' %}
- This is a link to [{{page.pdf_file}}]({{page.pdf_file | absolute_url}})
- This is a preview of 
- This is a link to [sample_2.pdf]({{other_pdf | absolute_url }})
- This is a preview of 
- 50% resize: {{page.pdf_file | pdf_thumbnail: resize:'50%' }}
- 25% resize: {{page.pdf_file | pdf_thumbnail: resize:'25%' }}
- 25% resize, 50% quality: {{page.pdf_file | pdf_thumbnail: resize:'25%', quality:'50'}}
resize
parameter is the image geometry as defined in the ImageMagick manual.quality
parameter is a number between 1 and 100 as defined in the Image Magick manual. Currently, only png thumbnails are supported. According to the manual:
... the quality value sets the zlib compression level (quality / 10) and filter-type (quality % 10). The default PNG "quality" is 75, which means compression level 7 with adaptive PNG filtering, unless the image has a color map, in which case it means compression level 7 with no PNG filtering.
bundle install
to install the dependenciesbundle exec rspec
git tag -a vx.y.z -m "Version x.y.z"
git push origin && git push origin --tags
gem build
gem push jekyll-pdf-thumbnail-x.y.z.gem
FAQs
Unknown package
We found that jekyll-pdf-thumbnail demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.