• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tito10047 / progressive-image-bundle / 31816640806
96%

Build:
DEFAULT BRANCH: main
Ran 14 Aug 2026 03:53PM UTC
Jobs 16
Files 44
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Aug 2026 03:52PM UTC coverage: 90.628% (+0.2%) from 90.394%
31816640806

push

github

Jozef Mostka
fix: POI crop scales to target size instead of cutting at original resolution

The previous fix centred the crop window on the POI pixel but still cut
the exact target size from the original image (no scaling). The intended
behaviour is to find the largest region in the original that matches the
target aspect ratio, centre it on the POI, and then scale the result down
— so the full image is preserved as much as possible and only the excess
caused by an aspect-ratio mismatch is cropped away.

Replaces calculateCropStart with calculateAspectCrop which:
  - picks the crop size that covers the target ratio using the full
    width (if original is taller) or full height (if original is wider)
  - centres that window on the POI pixel with edge clamping
  - returns [start, size] for the crop filter; caller uses thumbnail/inset
    to scale the result to the final target size

Updates all affected unit and integration tests.
Corrects documentation: pointInterest takes pixel coordinates, not
percentages, and explains the scale-then-crop algorithm.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

24 of 24 new or added lines in 1 file covered. (100.0%)

909 of 1003 relevant lines covered (90.63%)

370.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31816640806.1 14 Aug 2026 03:53PM UTC 44
74.35
GitHub Action Run
2 31816640806.2 14 Aug 2026 03:53PM UTC 44
90.23
GitHub Action Run
3 31816640806.3 14 Aug 2026 03:53PM UTC 44
90.23
GitHub Action Run
4 31816640806.4 14 Aug 2026 03:53PM UTC 44
90.22
GitHub Action Run
5 31816640806.5 14 Aug 2026 03:53PM UTC 44
90.22
GitHub Action Run
6 31816640806.6 14 Aug 2026 03:53PM UTC 44
90.23
GitHub Action Run
7 31816640806.7 14 Aug 2026 03:53PM UTC 44
90.23
GitHub Action Run
8 31816640806.8 14 Aug 2026 03:53PM UTC 44
90.22
GitHub Action Run
9 31816640806.9 14 Aug 2026 03:53PM UTC 44
90.23
GitHub Action Run
10 31816640806.10 14 Aug 2026 03:53PM UTC 44
90.23
GitHub Action Run
11 31816640806.11 14 Aug 2026 03:53PM UTC 44
90.22
GitHub Action Run
12 31816640806.12 14 Aug 2026 03:53PM UTC 44
90.22
GitHub Action Run
13 31816640806.13 14 Aug 2026 03:53PM UTC 44
90.23
GitHub Action Run
14 31816640806.14 14 Aug 2026 03:53PM UTC 44
90.23
GitHub Action Run
15 31816640806.15 14 Aug 2026 03:53PM UTC 44
90.22
GitHub Action Run
16 31816640806.16 14 Aug 2026 03:54PM UTC 44
90.22
GitHub Action Run
Source Files on build 31816640806
  • Tree
  • List 44
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • abdaf35f on github
  • Prev Build on main (#31815309918)
  • Next Build on main (#31816751255)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc