Skip to content

Regenerate POTFILES.in and C++ binding #4458

New issue

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

Merged
merged 1 commit into from
Apr 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions cplusplus/include/vips/VImage8.h
Original file line number Diff line number Diff line change
Expand Up @@ -3765,6 +3765,7 @@ class VImage : public VObject {
*
* **Optional parameters**
* - **page** -- Load this page from the image, int.
* - **oneshot** -- Load images a frame at a time, bool.
* - **memory** -- Force open via memory, bool.
* - **access** -- Required access pattern for this file, VipsAccess.
* - **fail_on** -- Error level to fail on, VipsFailOn.
Expand All @@ -3781,6 +3782,7 @@ class VImage : public VObject {
*
* **Optional parameters**
* - **page** -- Load this page from the image, int.
* - **oneshot** -- Load images a frame at a time, bool.
* - **memory** -- Force open via memory, bool.
* - **access** -- Required access pattern for this file, VipsAccess.
* - **fail_on** -- Error level to fail on, VipsFailOn.
Expand All @@ -3797,6 +3799,7 @@ class VImage : public VObject {
*
* **Optional parameters**
* - **page** -- Load this page from the image, int.
* - **oneshot** -- Load images a frame at a time, bool.
* - **memory** -- Force open via memory, bool.
* - **access** -- Required access pattern for this file, VipsAccess.
* - **fail_on** -- Error level to fail on, VipsFailOn.
Expand Down Expand Up @@ -4520,7 +4523,7 @@ class VImage : public VObject {
static VImage matload(const char *filename, VOption *options = nullptr);

/**
* Invert an matrix.
* Invert a matrix.
* @param options Set of options.
* @return Output matrix.
*/
Expand Down Expand Up @@ -4556,6 +4559,14 @@ class VImage : public VObject {
*/
static VImage matrixload_source(VSource source, VOption *options = nullptr);

/**
* Multiply two matrices.
* @param right Second matrix to multiply.
* @param options Set of options.
* @return Output matrix.
*/
VImage matrixmultiply(VImage right, VOption *options = nullptr) const;

/**
* Print matrix.
*
Expand Down Expand Up @@ -5758,6 +5769,7 @@ class VImage : public VObject {
* - **dpi** -- Render at this DPI, double.
* - **scale** -- Scale output by this factor, double.
* - **unlimited** -- Allow SVG of any size, bool.
* - **stylesheet** -- Custom CSS, const char *.
* - **memory** -- Force open via memory, bool.
* - **access** -- Required access pattern for this file, VipsAccess.
* - **fail_on** -- Error level to fail on, VipsFailOn.
Expand All @@ -5776,6 +5788,7 @@ class VImage : public VObject {
* - **dpi** -- Render at this DPI, double.
* - **scale** -- Scale output by this factor, double.
* - **unlimited** -- Allow SVG of any size, bool.
* - **stylesheet** -- Custom CSS, const char *.
* - **memory** -- Force open via memory, bool.
* - **access** -- Required access pattern for this file, VipsAccess.
* - **fail_on** -- Error level to fail on, VipsFailOn.
Expand All @@ -5794,6 +5807,7 @@ class VImage : public VObject {
* - **dpi** -- Render at this DPI, double.
* - **scale** -- Scale output by this factor, double.
* - **unlimited** -- Allow SVG of any size, bool.
* - **stylesheet** -- Custom CSS, const char *.
* - **memory** -- Force open via memory, bool.
* - **access** -- Required access pattern for this file, VipsAccess.
* - **fail_on** -- Error level to fail on, VipsFailOn.
Expand Down Expand Up @@ -5937,9 +5951,10 @@ class VImage : public VObject {
*
* **Optional parameters**
* - **page** -- First page to load, int.
* - **subifd** -- Subifd index, int.
* - **n** -- Number of pages to load, -1 for all, int.
* - **autorotate** -- Rotate image using orientation tag, bool.
* - **subifd** -- Subifd index, int.
* - **unlimited** -- Remove all denial of service limits, bool.
* - **memory** -- Force open via memory, bool.
* - **access** -- Required access pattern for this file, VipsAccess.
* - **fail_on** -- Error level to fail on, VipsFailOn.
Expand All @@ -5956,9 +5971,10 @@ class VImage : public VObject {
*
* **Optional parameters**
* - **page** -- First page to load, int.
* - **subifd** -- Subifd index, int.
* - **n** -- Number of pages to load, -1 for all, int.
* - **autorotate** -- Rotate image using orientation tag, bool.
* - **subifd** -- Subifd index, int.
* - **unlimited** -- Remove all denial of service limits, bool.
* - **memory** -- Force open via memory, bool.
* - **access** -- Required access pattern for this file, VipsAccess.
* - **fail_on** -- Error level to fail on, VipsFailOn.
Expand All @@ -5975,9 +5991,10 @@ class VImage : public VObject {
*
* **Optional parameters**
* - **page** -- First page to load, int.
* - **subifd** -- Subifd index, int.
* - **n** -- Number of pages to load, -1 for all, int.
* - **autorotate** -- Rotate image using orientation tag, bool.
* - **subifd** -- Subifd index, int.
* - **unlimited** -- Remove all denial of service limits, bool.
* - **memory** -- Force open via memory, bool.
* - **access** -- Required access pattern for this file, VipsAccess.
* - **fail_on** -- Error level to fail on, VipsFailOn.
Expand Down
13 changes: 13 additions & 0 deletions cplusplus/vips-operators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2316,6 +2316,19 @@ VImage::matrixload_source(VSource source, VOption *options)
return out;
}

VImage
VImage::matrixmultiply(VImage right, VOption *options) const
{
VImage out;

call("matrixmultiply", (options ? options : VImage::option())
->set("left", *this)
->set("out", &out)
->set("right", right));

return out;
}

void
VImage::matrixprint(VOption *options) const
{
Expand Down
5 changes: 4 additions & 1 deletion po/POTFILES.in
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ libvips/foreign/jpegload.c
libvips/foreign/jpegsave.c
libvips/foreign/jxlload.c
libvips/foreign/jxlsave.c
libvips/foreign/magick2vips.c
libvips/foreign/magick6load.c
libvips/foreign/magick7load.c
libvips/foreign/magick.c
Expand All @@ -264,6 +263,7 @@ libvips/foreign/niftisave.c
libvips/foreign/nsgifload.c
libvips/foreign/openexr2vips.c
libvips/foreign/openexrload.c
libvips/foreign/openslideconnection.c
libvips/foreign/openslideload.c
libvips/foreign/pdf.c
libvips/foreign/pdfiumload.c
Expand Down Expand Up @@ -377,6 +377,7 @@ libvips/mosaicing/lrmerge.c
libvips/mosaicing/lrmosaic.c
libvips/mosaicing/match.c
libvips/mosaicing/matrixinvert.c
libvips/mosaicing/matrixmultiply.c
libvips/mosaicing/merge.c
libvips/mosaicing/mosaic1.c
libvips/mosaicing/mosaic.c
Expand All @@ -400,7 +401,9 @@ libvips/resample/resample.c
libvips/resample/resize.c
libvips/resample/shrink.c
libvips/resample/shrinkh.c
libvips/resample/shrinkh_hwy.cpp
libvips/resample/shrinkv.c
libvips/resample/shrinkv_hwy.cpp
libvips/resample/similarity.c
libvips/resample/thumbnail.c
libvips/resample/transform.c
Expand Down
Loading