mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Issue template: add a couple of the most commonly-reported problems
This should allow more people to help themselves and prevent extraneous issues from being opened.
This commit is contained in:
parent
ba843002be
commit
a9e662e612
16
.github/ISSUE_TEMPLATE/possible-bug.md
vendored
16
.github/ISSUE_TEMPLATE/possible-bug.md
vendored
@ -32,6 +32,22 @@ If you are using another package which depends on a version of `sharp` that is n
|
||||
|
||||
<!-- Please provide output of the above command here. -->
|
||||
|
||||
### Does this problem relate to file caching?
|
||||
|
||||
The default behaviour of libvips is to cache input files, which can lead to `EBUSY` or `EPERM` errors on Windows.
|
||||
Use `[sharp.cache(false)](https://sharp.pixelplumbing.com/api-utility#cache)` to switch this feature off.
|
||||
|
||||
- [ ] Adding `sharp.cache(false)` does not fix this problem.
|
||||
|
||||
### Does this problem relate to images appearing to have been rotated by 90 degrees?
|
||||
|
||||
Images that contain EXIF Orientation metadata are not auto-oriented. By default, EXIF metadata is removed.
|
||||
|
||||
- To auto-orient pixel values use the parameter-less `[rotate()](https://sharp.pixelplumbing.com/api-operation#rotate)` operation.
|
||||
- To retain EXIF Orientation use `[keepExif()](https://sharp.pixelplumbing.com/api-output#keepexif)`.
|
||||
|
||||
- [ ] Using `rotate()` or `keepExif()` does not fix this problem.
|
||||
|
||||
### What are the steps to reproduce?
|
||||
|
||||
<!-- Please enter steps to reproduce here. -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user