Comments (3)
@JustJarethB Have you set the Image Volume
setting in the plugin? It looks like it's not generating the path correctly as there are 2 forward slashes in the URL.
Also, have you checked to see if it is infact generating the image? It might be a problem with Imagemagick not generating it, but the Asset is being created.
from craft-pdf-transform.
My apologies @bymayo, the plugin settings were changed from png to jpg so the provided url is inaccurate. I will update, but also here are the images on an imgur link. Notice the red tinge across the image and pixellated white banner compared to the original. There is also a big file size difference here where the generated image is almost 10x at 529kB.
https://imgur.com/a/PEmVHma
In answer to your questions, the Image Volume
is indeed set to Images
. The double forward slash I'm not sure of the cause. I image it's something along the lines of ..images/
+/filename
from craft-pdf-transform.
@JustJarethB I've looked in to this and I can't see it being an issue with the plugin - But more the way your ImageMagick is setup to handle the images.
You can set the Image Quality and Resolution though in the plugin config file. Have you tried this?
from craft-pdf-transform.
Related Issues (20)
- Does not work with Amazon S3 HOT 7
- VolumeId given null HOT 5
- ?
- PHP 8.0 compatibility? HOT 6
- Craft v4 support HOT 2
- Works locally but not on my staging server HOT 6
- Craft 3 Error: file_get_contents: Failed to open stream: No such file or directory HOT 10
- Failed to open stream: No such file or directory HOT 3
- new file_get_contents method means pdfs protected by basic auth can't have generated images
- Craft 3: file_get_contents() cannot be empty error - for volumes without public URLs HOT 3
- upload error with asset field HOT 2
- Colours of generated asset are inverted
- If Volume includes Subpath, new asset is generated every time
- need help to install ghostscript HOT 2
- [Feature Request] Ability to specify a subfolder for the generated PDFs
- How to apply a transform? HOT 5
- Update preview image if pdf assets are updated HOT 2
- Fix Composer 2 compatibility HOT 2
- Failed to instantiate component or class "bymayo\pdftransform\assetbundles\pdftransform\PdfTransformAsset". HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from craft-pdf-transform.