-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
Description
Describe the bug
When we use crop parameters in options for example 'crop-h': '3', then if the value is positive then we are getting a blank white box and if we are using negative value then it displays the complete image no matter what the negative value is. So while using different values we should see the difference in image, but here the issue is there is no standard output of these crop options. I have following queries for this.
- What values can be provided to the “crop-h“, “crop-w“, “crop-x“, “crop-y“
- What is the min and max for it
- What is the measuring parameter of "3" for image in 'crop-h': '3'
- What will be the default value if we won't provide “crop-h“, “crop-w“, “crop-x“, “crop-y“
To Reproduce
Steps to reproduce the behavior:
- Go to https://github.com/jarrekk/imgkit#usage
- Use the options parameter given in the description to crop the image
- Try with several positive and negative values for “crop-h“, “crop-w“, “crop-x“, “crop-y“ and check the image output
Expected behavior
There should be some standard pattern of output after using these crop options. Also need some more documentation support for these options while converting html to image.
- OS: [MacOSX]
- IMGkit Version [imgkit 1.2.2]
wkhtmltopdfVersion [0.12.6]