Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: cshum/vipsgen

v1.2.1

24 Oct 17:08
1ac68bf

Choose a tag to compare

What's Changed

  • fix: signed Integer Interpretation for optional outputs by @cshum in #63

Full Changelog: v1.2.0...v1.2.1

v1.2.0

24 Oct 09:27

Choose a tag to compare

Optional Output Parameters Support

vipsgen v1.2.0 introduces optional output parameters for common argument types. See examples.

Smartcrop with Attention Coordinates

Operation: vips_smartcrop
Optional Outputs: AttentionX, AttentionY

The coordinates where the algorithm detected the most interesting content for cropping.

options := vips.DefaultSmartcropOptions()
err := img.Smartcrop(width, height, options)

// Access the attention coordinates
fmt.Printf("Attention Center: x=%d, y=%d\n", options.AttentionX, options.AttentionY)

Mosaic with Transformation Parameters

Operation: vips_mosaic
Optional Outputs: Dx0, Dy0, Scale1, Angle1, Dx1, Dy1

The detected transformation parameters when combining two images.

options := vips.DefaultMosaicOptions()
err := img1.Mosaic(img2, direction, xref, yref, xsec, ysec, options)

// Access transformation parameters
fmt.Printf("Integer Offset: dx0=%d, dy0=%d\n", options.Dx0, options.Dy0)
fmt.Printf("Detected Scale: %.3f\n", options.Scale1)
fmt.Printf("Detected Rotation: %.3f degrees\n", options.Angle1)

What's Changed

  • feat: optional output arguments support for int, float64, and bool by @cshum in #61

Full Changelog: v1.1.3...v1.2.0

v1.1.3

10 Oct 17:45
bbcdb8c

Choose a tag to compare

What's Changed

  • build: libvips 8.17.2 by @cshum in #57
  • feat: SetArrayInt and SetArrayDouble by @cshum in #56

Full Changelog: v1.1.2...v1.1.3

v1.1.2

17 Aug 04:42
bca17aa

Choose a tag to compare

What's Changed

  • docs: add usage examples by @cshum in #49
  • build: libvips 8.17.1 by @cshum in #51
  • fix: thumbnail_buffer code generation fix by @cshum in #54

Full Changelog: v1.1.1...v1.1.2

v1.1.1

06 Jun 07:31
a3ddb85

Choose a tag to compare

libvips 8.17.0

https://github.com/libvips/libvips/releases/tag/v8.17.0

What's Changed

Full Changelog: v1.1.0...v1.1.1

v1.1.0

01 Jun 17:39
d8c82f2

Choose a tag to compare

What's Changed

  • feat: VipsTarget integration with io.WriteCloser by @cshum in #47

Full Changelog: v1.0.1...v1.1.0

v1.0.1

31 May 18:42
8ce8024

Choose a tag to compare

What's Changed

  • fix: deterministic operations and enums sequence by @cshum in #43
  • fix: composite fix and enable report leaks in test cases by @cshum in #39
  • test: add cases for options passing, memory management, and type safety by @cshum in #44
  • fix: clear error buffer on vips_interpolate_new fail by @cshum in #45
  • fix: fix ref of custom operation rot_multi_page by @cshum in #46

Full Changelog: v0.9.1...v1.0.1

v0.9.1

29 May 18:23
ab2b63f

Choose a tag to compare

What's Changed

  • feat: generate Go doc conventions for required arguments by @cshum in #40
  • feat: add libvips version comment in generated code by @cshum in #41
  • fix: line breaks for Go doc convention by @cshum in #42

Full Changelog: v0.8.3...v0.9.1

v0.8.3

26 May 08:36
7ad240c

Choose a tag to compare

What's Changed

  • refactor: optimize vipsImageGetMetaLoader and vipsgen prefix by @cshum in #37
  • refactor: vipsgen prefix convention by @cshum in #38

Full Changelog: v0.8.2...v0.8.3

v0.8.2

26 May 04:00
cec01c4

Choose a tag to compare

What's Changed

  • feat: libvips header functions and HasOperation util by @cshum in #34
  • refactor: more safety check to nil case by @cshum in #35

Full Changelog: v0.8.1...v0.8.2