openzim / python-scraperlib

Collection of Python code to re-use across Python-based scrapers
GNU General Public License v3.0
19 stars 16 forks source link

Better image resizing #25

Closed satyamtg closed 4 years ago

satyamtg commented 4 years ago

Contains the following changes -

Also, this would fix https://github.com/openzim/youtube/issues/104

This is compatible with the previous API but contains an extra option allow_upscaling

codecov[bot] commented 4 years ago

Codecov Report

Merging #25 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #25   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines          448       467   +19     
=========================================
+ Hits           448       467   +19     
Impacted Files Coverage Δ
src/zimscraperlib/imaging.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ad7e593...11eb5d0. Read the comment docs.