Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
co.elastic.thumbnails4j:thumbnails4j
Open source project for generating file thumbnails with the JVM
import co.elastic.thumbnails4j.core.Dimensions;
import co.elastic.thumbnails4j.pdf.PDFThumbnailer;
File input = new File("/path/to/my_file.pdf");
Thumbnailer thumbnailer = new PDFThumbnailer();
Dimensions outputDimensions = new Dimensions(100, 100);
BufferedImage output = thumbnailer.getThumbnails(input, Collections.singletonList(outputDimensions)).get(0);
To build locally, run:
./mvnw clean install
If something is not working as expected, please open an issue.
The Workplace Search team at Elastic maintains this library and are happy to help. Try posting your question to the
Elastic Workplace Search discuss forums. Be sure to mention that you're
using thumbnails4j and also let us know what file type you're trying to thumbnail, and any errors/issues you are
encountering. You can also find us in the #enterprise-workplace-search
channel of the
Elastic Community Slack.
We welcome contributors to the project. Before you begin, a couple notes...
FAQs
open source project for generating file thumbnail images with the JVM
We found that co.elastic.thumbnails4j:thumbnails4j demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.