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

davidbyttow / govips / 22526765646
39%

Build:
DEFAULT BRANCH: master
Ran 28 Feb 2026 06:49PM UTC
Jobs 1
Files 35
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

28 Feb 2026 06:47PM UTC coverage: 35.035% (-36.7%) from 71.754%
22526765646

push

github

web-flow
Add built-in vipsgen code generator (#496)

* Update README to reflect built-in code generator

Replace the "Project Status & Future" section that recommended the
external vipsgen project with a concise description of the built-in
code generator. Add a Code Generation section with regeneration
instructions. Update Go requirement from 1.16+ to 1.23+ to match
go.mod.

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

* Add built-in code generator and auto-generated libvips bindings

Add cmd/vipsgen, a code generator that uses libvips GObject
introspection to auto-generate type-safe Go/C bindings. This covers
193+ operations across 9 categories: arithmetic, colour, conversion,
convolution, create, freqfilt, histogram, morphology, and resample.

Hand-written bindings for operations now covered by the generator are
removed from arithmetic, conversion, convolution, create, morphology,
and resample. Complex operations (image I/O, draw, etc.) remain
hand-written. image.go is updated to call generated functions where
applicable.

Also adds golden test images for the current platform and updates
.gitignore to exclude the compiled vipsgen binary.

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

* Exclude sdf operation to fix build on older libvips

The sdf operation and VipsSdfShape enum were added in libvips 8.16,
but CI uses Ubuntu's libvips-dev which provides 8.12. Excluding sdf
from code generation fixes the build (192 ops, down from 193).

Also fix .gitignore to use /vipsgen so it only excludes the compiled
binary at the repo root, not the cmd/vipsgen/ source directory.

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

* Add vipsgen generator source files

The previous .gitignore entry for "vipsgen" inadvertently excluded the
cmd/vipsgen/ source directory. These files were missed in the initial
commit. Adds the generator, introspection, and template source files.

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

* Fix NULL de... (continued)

530 of 4262 new or added lines in 17 files covered. (12.44%)

2 existing lines in 1 file now uncovered.

2436 of 6953 relevant lines covered (35.04%)

0.37 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
70.36
-0.03% vips/image.go
8
0.0
vips/interpolate.go
15
0.0
cmd/vipsgen/config.go
30
0.0
cmd/vipsgen/types.go
44
15.38
vips/gen_morphology.go
56
0.0
vips/gen_freqfilt.go
108
0.0
cmd/vipsgen/introspect.go
110
24.66
vips/gen_histogram.go
184
0.0
cmd/vipsgen/main.go
218
18.05
vips/gen_convolution.go
345
21.59
vips/gen_arithmetic.go
428
3.17
vips/gen_resample.go
440
0.0
vips/gen_colour.go
478
32.29
vips/gen_conversion.go
580
5.84
vips/gen_create.go
684
0.0
cmd/vipsgen/generate.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
70.36
-0.03% vips/image.go
Jobs
ID Job ID Ran Files Coverage
1 22526765646.1 28 Feb 2026 06:49PM UTC 35
35.04
GitHub Action Run
Source Files on build 22526765646
  • Tree
  • List 35
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9f724cd4 on github
  • Prev Build on master (#22505487199)
  • Next Build on master (#22527139384)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc