mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-14 19:32:15 +01:00
feat(pdfengines): optimize PDF images to reduce file size (#359)
This commit is contained in:
15
test/integration/testdata/optimize-image-html/index.html
vendored
Normal file
15
test/integration/testdata/optimize-image-html/index.html
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Image-heavy page</title>
|
||||
<style>
|
||||
@page { margin: 0; }
|
||||
body { margin: 0; }
|
||||
img { width: 100%; display: block; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img src="image.png" />
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user