We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I use ReduceHeight function to deal with test.jpg.Then I get test_1.jpg.But the size is more bigger than the original picture.
ReduceHeight
test.jpg
test_1.jpg
ls -lh total 21M -rw-rw-r-- 1 lstbao lstbao 768 7月 22 16:08 carve.go -rw-rw-r-- 1 lstbao lstbao 21M 7月 22 15:17 imret.pdf -rw-rw-r-- 1 lstbao lstbao 151K 7月 22 16:09 test_1.jpg -rw-rw-r-- 1 lstbao lstbao 349 7月 22 15:47 test_image.go -rw-rw-r-- 1 lstbao lstbao 57K 7月 22 14:53 test.jpg
ls -lh
The text was updated successfully, but these errors were encountered:
Not able to recreate locally. What image are you trying to use it with? And can I see the relevant code?
Sorry, something went wrong.
I know why? There is a option about picture quality ,&jpeg.Options{100} . Change 100 to 50 can be more smaller.
&jpeg.Options{100}
aaparella
No branches or pull requests
I use
ReduceHeight
function to deal withtest.jpg
.Then I gettest_1.jpg
.But the size is more bigger than the original picture.ls -lh
total 21M
-rw-rw-r-- 1 lstbao lstbao 768 7月 22 16:08 carve.go
-rw-rw-r-- 1 lstbao lstbao 21M 7月 22 15:17 imret.pdf
-rw-rw-r-- 1 lstbao lstbao 151K 7月 22 16:09 test_1.jpg
-rw-rw-r-- 1 lstbao lstbao 349 7月 22 15:47 test_image.go
-rw-rw-r-- 1 lstbao lstbao 57K 7月 22 14:53 test.jpg
The text was updated successfully, but these errors were encountered: