diff --git a/samples/NetVips.Samples/Samples/GenerateEnums.cs b/samples/NetVips.Samples/Samples/GenerateEnums.cs index d6d154ff..1fc52192 100644 --- a/samples/NetVips.Samples/Samples/GenerateEnums.cs +++ b/samples/NetVips.Samples/Samples/GenerateEnums.cs @@ -54,11 +54,6 @@ private string Generate() foreach (var name in allEnums) { - if (name.StartsWith("Gsf")) - { - continue; - } - var gtype = NetVips.TypeFromName(name); var csharpName = RemovePrefix(name); diff --git a/src/NetVips/Image.Generated.cs b/src/NetVips/Image.Generated.cs index b9b86e8f..ed19a513 100644 --- a/src/NetVips/Image.Generated.cs +++ b/src/NetVips/Image.Generated.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// libvips version: 8.14.2 +// libvips version: 8.15.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -86,21 +86,23 @@ public Image Affine(double[] matrix, GObject interpolate = null, int[] oarea = n /// /// /// - /// using Image @out = NetVips.Image.Analyzeload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Analyzeload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Analyzeload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Analyzeload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("analyzeload", options, filename) as Image; } @@ -110,7 +112,7 @@ public static Image Analyzeload(string filename, bool? memory = null, Enums.Acce /// /// /// - /// using Image @out = NetVips.Image.Analyzeload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Analyzeload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -118,14 +120,16 @@ public static Image Analyzeload(string filename, bool? memory = null, Enums.Acce /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Analyzeload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Analyzeload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -740,7 +744,7 @@ public Image Convi(Image mask) } /// - /// Seperable convolution operation. + /// Separable convolution operation. /// /// /// @@ -820,7 +824,7 @@ public double Countlines(Enums.Direction direction) /// /// /// - /// using Image @out = NetVips.Image.Csvload(filename, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Csvload(filename, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -831,8 +835,9 @@ public double Countlines(Enums.Direction direction) /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Csvload(string filename, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Csvload(string filename, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -843,6 +848,7 @@ public static Image Csvload(string filename, int? skip = null, int? lines = null options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("csvload", options, filename) as Image; } @@ -852,7 +858,7 @@ public static Image Csvload(string filename, int? skip = null, int? lines = null /// /// /// - /// using Image @out = NetVips.Image.Csvload(filename, out var flags, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Csvload(filename, out var flags, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -864,8 +870,9 @@ public static Image Csvload(string filename, int? skip = null, int? lines = null /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Csvload(string filename, out Enums.ForeignFlags flags, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Csvload(string filename, out Enums.ForeignFlags flags, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -876,6 +883,7 @@ public static Image Csvload(string filename, out Enums.ForeignFlags flags, int? options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -892,7 +900,7 @@ public static Image Csvload(string filename, out Enums.ForeignFlags flags, int? /// /// /// - /// using Image @out = NetVips.Image.CsvloadSource(source, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.CsvloadSource(source, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -903,8 +911,9 @@ public static Image Csvload(string filename, out Enums.ForeignFlags flags, int? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image CsvloadSource(Source source, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image CsvloadSource(Source source, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -915,6 +924,7 @@ public static Image CsvloadSource(Source source, int? skip = null, int? lines = options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("csvload_source", options, source) as Image; } @@ -924,7 +934,7 @@ public static Image CsvloadSource(Source source, int? skip = null, int? lines = /// /// /// - /// using Image @out = NetVips.Image.CsvloadStream(stream, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.CsvloadStream(stream, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -935,11 +945,12 @@ public static Image CsvloadSource(Source source, int? skip = null, int? lines = /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image CsvloadStream(Stream stream, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image CsvloadStream(Stream stream, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = CsvloadSource(source, skip, lines, whitespace, separator, memory, access, failOn); + var image = CsvloadSource(source, skip, lines, whitespace, separator, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -951,7 +962,7 @@ public static Image CsvloadStream(Stream stream, int? skip = null, int? lines = /// /// /// - /// using Image @out = NetVips.Image.CsvloadSource(source, out var flags, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.CsvloadSource(source, out var flags, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -963,8 +974,9 @@ public static Image CsvloadStream(Stream stream, int? skip = null, int? lines = /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image CsvloadSource(Source source, out Enums.ForeignFlags flags, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image CsvloadSource(Source source, out Enums.ForeignFlags flags, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -975,6 +987,7 @@ public static Image CsvloadSource(Source source, out Enums.ForeignFlags flags, i options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -991,7 +1004,7 @@ public static Image CsvloadSource(Source source, out Enums.ForeignFlags flags, i /// /// /// - /// using Image @out = NetVips.Image.CsvloadStream(stream, out var flags, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.CsvloadStream(stream, out var flags, skip: int, lines: int, whitespace: string, separator: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -1003,11 +1016,12 @@ public static Image CsvloadSource(Source source, out Enums.ForeignFlags flags, i /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image CsvloadStream(Stream stream, out Enums.ForeignFlags flags, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image CsvloadStream(Stream stream, out Enums.ForeignFlags flags, int? skip = null, int? lines = null, string whitespace = null, string separator = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = CsvloadSource(source, out flags, skip, lines, whitespace, separator, memory, access, failOn); + var image = CsvloadSource(source, out flags, skip, lines, whitespace, separator, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -1162,11 +1176,11 @@ public Image Divide(Image right) /// /// /// - /// in.Dzsave(filename, basename: string, layout: Enums.ForeignDzLayout, suffix: string, overlap: int, tileSize: int, centre: bool, depth: Enums.ForeignDzDepth, angle: Enums.Angle, container: Enums.ForeignDzContainer, compression: int, regionShrink: Enums.RegionShrink, skipBlanks: int, noStrip: bool, id: string, strip: bool, background: double[], pageHeight: int); + /// in.Dzsave(filename, imagename: string, layout: Enums.ForeignDzLayout, suffix: string, overlap: int, tileSize: int, centre: bool, depth: Enums.ForeignDzDepth, angle: Enums.Angle, container: Enums.ForeignDzContainer, compression: int, regionShrink: Enums.RegionShrink, skipBlanks: int, noStrip: bool, id: string, q: int, strip: bool, background: double[], pageHeight: int); /// /// /// Filename to save to. - /// Base name to save to. + /// Image name. /// Directory layout. /// Filename suffix for tiles. /// Tile overlap in pixels. @@ -1180,14 +1194,15 @@ public Image Divide(Image right) /// Skip tiles which are nearly equal to the background. /// Don't strip tile metadata. /// Resource ID. + /// Q factor. /// Strip all metadata from image. /// Background value. /// Set page height for multipage save. - public void Dzsave(string filename, string basename = null, Enums.ForeignDzLayout? layout = null, string suffix = null, int? overlap = null, int? tileSize = null, bool? centre = null, Enums.ForeignDzDepth? depth = null, Enums.Angle? angle = null, Enums.ForeignDzContainer? container = null, int? compression = null, Enums.RegionShrink? regionShrink = null, int? skipBlanks = null, bool? noStrip = null, string id = null, bool? strip = null, double[] background = null, int? pageHeight = null) + public void Dzsave(string filename, string imagename = null, Enums.ForeignDzLayout? layout = null, string suffix = null, int? overlap = null, int? tileSize = null, bool? centre = null, Enums.ForeignDzDepth? depth = null, Enums.Angle? angle = null, Enums.ForeignDzContainer? container = null, int? compression = null, Enums.RegionShrink? regionShrink = null, int? skipBlanks = null, bool? noStrip = null, string id = null, int? q = null, bool? strip = null, double[] background = null, int? pageHeight = null) { var options = new VOption(); - options.AddIfPresent(nameof(basename), basename); + options.AddIfPresent(nameof(imagename), imagename); options.AddIfPresent(nameof(layout), layout); options.AddIfPresent(nameof(suffix), suffix); options.AddIfPresent(nameof(overlap), overlap); @@ -1201,6 +1216,7 @@ public void Dzsave(string filename, string basename = null, Enums.ForeignDzLayou options.AddIfPresent("skip_blanks", skipBlanks); options.AddIfPresent("no_strip", noStrip); options.AddIfPresent(nameof(id), id); + options.AddIfPresent("Q", q); options.AddIfPresent(nameof(strip), strip); options.AddIfPresent(nameof(background), background); options.AddIfPresent("page_height", pageHeight); @@ -1213,10 +1229,10 @@ public void Dzsave(string filename, string basename = null, Enums.ForeignDzLayou /// /// /// - /// byte[] buffer = in.DzsaveBuffer(basename: string, layout: Enums.ForeignDzLayout, suffix: string, overlap: int, tileSize: int, centre: bool, depth: Enums.ForeignDzDepth, angle: Enums.Angle, container: Enums.ForeignDzContainer, compression: int, regionShrink: Enums.RegionShrink, skipBlanks: int, noStrip: bool, id: string, strip: bool, background: double[], pageHeight: int); + /// byte[] buffer = in.DzsaveBuffer(imagename: string, layout: Enums.ForeignDzLayout, suffix: string, overlap: int, tileSize: int, centre: bool, depth: Enums.ForeignDzDepth, angle: Enums.Angle, container: Enums.ForeignDzContainer, compression: int, regionShrink: Enums.RegionShrink, skipBlanks: int, noStrip: bool, id: string, q: int, strip: bool, background: double[], pageHeight: int); /// /// - /// Base name to save to. + /// Image name. /// Directory layout. /// Filename suffix for tiles. /// Tile overlap in pixels. @@ -1230,15 +1246,16 @@ public void Dzsave(string filename, string basename = null, Enums.ForeignDzLayou /// Skip tiles which are nearly equal to the background. /// Don't strip tile metadata. /// Resource ID. + /// Q factor. /// Strip all metadata from image. /// Background value. /// Set page height for multipage save. /// An array of bytes. - public byte[] DzsaveBuffer(string basename = null, Enums.ForeignDzLayout? layout = null, string suffix = null, int? overlap = null, int? tileSize = null, bool? centre = null, Enums.ForeignDzDepth? depth = null, Enums.Angle? angle = null, Enums.ForeignDzContainer? container = null, int? compression = null, Enums.RegionShrink? regionShrink = null, int? skipBlanks = null, bool? noStrip = null, string id = null, bool? strip = null, double[] background = null, int? pageHeight = null) + public byte[] DzsaveBuffer(string imagename = null, Enums.ForeignDzLayout? layout = null, string suffix = null, int? overlap = null, int? tileSize = null, bool? centre = null, Enums.ForeignDzDepth? depth = null, Enums.Angle? angle = null, Enums.ForeignDzContainer? container = null, int? compression = null, Enums.RegionShrink? regionShrink = null, int? skipBlanks = null, bool? noStrip = null, string id = null, int? q = null, bool? strip = null, double[] background = null, int? pageHeight = null) { var options = new VOption(); - options.AddIfPresent(nameof(basename), basename); + options.AddIfPresent(nameof(imagename), imagename); options.AddIfPresent(nameof(layout), layout); options.AddIfPresent(nameof(suffix), suffix); options.AddIfPresent(nameof(overlap), overlap); @@ -1252,6 +1269,7 @@ public byte[] DzsaveBuffer(string basename = null, Enums.ForeignDzLayout? layout options.AddIfPresent("skip_blanks", skipBlanks); options.AddIfPresent("no_strip", noStrip); options.AddIfPresent(nameof(id), id); + options.AddIfPresent("Q", q); options.AddIfPresent(nameof(strip), strip); options.AddIfPresent(nameof(background), background); options.AddIfPresent("page_height", pageHeight); @@ -1264,11 +1282,11 @@ public byte[] DzsaveBuffer(string basename = null, Enums.ForeignDzLayout? layout /// /// /// - /// in.DzsaveTarget(target, basename: string, layout: Enums.ForeignDzLayout, suffix: string, overlap: int, tileSize: int, centre: bool, depth: Enums.ForeignDzDepth, angle: Enums.Angle, container: Enums.ForeignDzContainer, compression: int, regionShrink: Enums.RegionShrink, skipBlanks: int, noStrip: bool, id: string, strip: bool, background: double[], pageHeight: int); + /// in.DzsaveTarget(target, imagename: string, layout: Enums.ForeignDzLayout, suffix: string, overlap: int, tileSize: int, centre: bool, depth: Enums.ForeignDzDepth, angle: Enums.Angle, container: Enums.ForeignDzContainer, compression: int, regionShrink: Enums.RegionShrink, skipBlanks: int, noStrip: bool, id: string, q: int, strip: bool, background: double[], pageHeight: int); /// /// /// Target to save to. - /// Base name to save to. + /// Image name. /// Directory layout. /// Filename suffix for tiles. /// Tile overlap in pixels. @@ -1282,14 +1300,15 @@ public byte[] DzsaveBuffer(string basename = null, Enums.ForeignDzLayout? layout /// Skip tiles which are nearly equal to the background. /// Don't strip tile metadata. /// Resource ID. + /// Q factor. /// Strip all metadata from image. /// Background value. /// Set page height for multipage save. - public void DzsaveTarget(Target target, string basename = null, Enums.ForeignDzLayout? layout = null, string suffix = null, int? overlap = null, int? tileSize = null, bool? centre = null, Enums.ForeignDzDepth? depth = null, Enums.Angle? angle = null, Enums.ForeignDzContainer? container = null, int? compression = null, Enums.RegionShrink? regionShrink = null, int? skipBlanks = null, bool? noStrip = null, string id = null, bool? strip = null, double[] background = null, int? pageHeight = null) + public void DzsaveTarget(Target target, string imagename = null, Enums.ForeignDzLayout? layout = null, string suffix = null, int? overlap = null, int? tileSize = null, bool? centre = null, Enums.ForeignDzDepth? depth = null, Enums.Angle? angle = null, Enums.ForeignDzContainer? container = null, int? compression = null, Enums.RegionShrink? regionShrink = null, int? skipBlanks = null, bool? noStrip = null, string id = null, int? q = null, bool? strip = null, double[] background = null, int? pageHeight = null) { var options = new VOption(); - options.AddIfPresent(nameof(basename), basename); + options.AddIfPresent(nameof(imagename), imagename); options.AddIfPresent(nameof(layout), layout); options.AddIfPresent(nameof(suffix), suffix); options.AddIfPresent(nameof(overlap), overlap); @@ -1303,6 +1322,7 @@ public void DzsaveTarget(Target target, string basename = null, Enums.ForeignDzL options.AddIfPresent("skip_blanks", skipBlanks); options.AddIfPresent("no_strip", noStrip); options.AddIfPresent(nameof(id), id); + options.AddIfPresent("Q", q); options.AddIfPresent(nameof(strip), strip); options.AddIfPresent(nameof(background), background); options.AddIfPresent("page_height", pageHeight); @@ -1315,11 +1335,11 @@ public void DzsaveTarget(Target target, string basename = null, Enums.ForeignDzL /// /// /// - /// in.DzsaveStream(stream, basename: string, layout: Enums.ForeignDzLayout, suffix: string, overlap: int, tileSize: int, centre: bool, depth: Enums.ForeignDzDepth, angle: Enums.Angle, container: Enums.ForeignDzContainer, compression: int, regionShrink: Enums.RegionShrink, skipBlanks: int, noStrip: bool, id: string, strip: bool, background: double[], pageHeight: int); + /// in.DzsaveStream(stream, imagename: string, layout: Enums.ForeignDzLayout, suffix: string, overlap: int, tileSize: int, centre: bool, depth: Enums.ForeignDzDepth, angle: Enums.Angle, container: Enums.ForeignDzContainer, compression: int, regionShrink: Enums.RegionShrink, skipBlanks: int, noStrip: bool, id: string, q: int, strip: bool, background: double[], pageHeight: int); /// /// /// Stream to save to. - /// Base name to save to. + /// Image name. /// Directory layout. /// Filename suffix for tiles. /// Tile overlap in pixels. @@ -1333,13 +1353,14 @@ public void DzsaveTarget(Target target, string basename = null, Enums.ForeignDzL /// Skip tiles which are nearly equal to the background. /// Don't strip tile metadata. /// Resource ID. + /// Q factor. /// Strip all metadata from image. /// Background value. /// Set page height for multipage save. - public void DzsaveStream(Stream stream, string basename = null, Enums.ForeignDzLayout? layout = null, string suffix = null, int? overlap = null, int? tileSize = null, bool? centre = null, Enums.ForeignDzDepth? depth = null, Enums.Angle? angle = null, Enums.ForeignDzContainer? container = null, int? compression = null, Enums.RegionShrink? regionShrink = null, int? skipBlanks = null, bool? noStrip = null, string id = null, bool? strip = null, double[] background = null, int? pageHeight = null) + public void DzsaveStream(Stream stream, string imagename = null, Enums.ForeignDzLayout? layout = null, string suffix = null, int? overlap = null, int? tileSize = null, bool? centre = null, Enums.ForeignDzDepth? depth = null, Enums.Angle? angle = null, Enums.ForeignDzContainer? container = null, int? compression = null, Enums.RegionShrink? regionShrink = null, int? skipBlanks = null, bool? noStrip = null, string id = null, int? q = null, bool? strip = null, double[] background = null, int? pageHeight = null) { using var target = TargetStream.NewFromStream(stream); - DzsaveTarget(target, basename, layout, suffix, overlap, tileSize, centre, depth, angle, container, compression, regionShrink, skipBlanks, noStrip, id, strip, background, pageHeight); + DzsaveTarget(target, imagename, layout, suffix, overlap, tileSize, centre, depth, angle, container, compression, regionShrink, skipBlanks, noStrip, id, q, strip, background, pageHeight); } /// @@ -1501,18 +1522,20 @@ public Image FillNearest(out Image distance) /// /// /// - /// var output = in.FindTrim(threshold: double, background: double[]); + /// var output = in.FindTrim(threshold: double, background: double[], lineArt: bool); /// /// /// Object threshold. /// Color for background pixels. + /// Enable line art mode. /// An array of objects. - public object[] FindTrim(double? threshold = null, double[] background = null) + public object[] FindTrim(double? threshold = null, double[] background = null, bool? lineArt = null) { var options = new VOption(); options.AddIfPresent(nameof(threshold), threshold); options.AddIfPresent(nameof(background), background); + options.AddIfPresent("line_art", lineArt); return this.Call("find_trim", options) as object[]; } @@ -1522,21 +1545,23 @@ public object[] FindTrim(double? threshold = null, double[] background = null) /// /// /// - /// using Image @out = NetVips.Image.Fitsload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Fitsload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Fitsload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Fitsload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("fitsload", options, filename) as Image; } @@ -1546,7 +1571,7 @@ public static Image Fitsload(string filename, bool? memory = null, Enums.Access? /// /// /// - /// using Image @out = NetVips.Image.Fitsload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Fitsload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -1554,14 +1579,16 @@ public static Image Fitsload(string filename, bool? memory = null, Enums.Access? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Fitsload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Fitsload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -1578,21 +1605,23 @@ public static Image Fitsload(string filename, out Enums.ForeignFlags flags, bool /// /// /// - /// using Image @out = NetVips.Image.FitsloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.FitsloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image FitsloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image FitsloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("fitsload_source", options, source) as Image; } @@ -1602,18 +1631,19 @@ public static Image FitsloadSource(Source source, bool? memory = null, Enums.Acc /// /// /// - /// using Image @out = NetVips.Image.FitsloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.FitsloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image FitsloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image FitsloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = FitsloadSource(source, memory, access, failOn); + var image = FitsloadSource(source, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -1625,7 +1655,7 @@ public static Image FitsloadStream(Stream stream, bool? memory = null, Enums.Acc /// /// /// - /// using Image @out = NetVips.Image.FitsloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.FitsloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -1633,14 +1663,16 @@ public static Image FitsloadStream(Stream stream, bool? memory = null, Enums.Acc /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image FitsloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image FitsloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -1657,7 +1689,7 @@ public static Image FitsloadSource(Source source, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.FitsloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.FitsloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -1665,11 +1697,12 @@ public static Image FitsloadSource(Source source, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image FitsloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image FitsloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = FitsloadSource(source, out flags, memory, access, failOn); + var image = FitsloadSource(source, out flags, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -1905,7 +1938,7 @@ public double[] Getpoint(int x, int y) /// /// /// - /// using Image @out = NetVips.Image.Gifload(filename, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Gifload(filename, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -1914,8 +1947,9 @@ public double[] Getpoint(int x, int y) /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Gifload(string filename, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Gifload(string filename, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -1924,6 +1958,7 @@ public static Image Gifload(string filename, int? n = null, int? page = null, bo options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("gifload", options, filename) as Image; } @@ -1933,7 +1968,7 @@ public static Image Gifload(string filename, int? n = null, int? page = null, bo /// /// /// - /// using Image @out = NetVips.Image.Gifload(filename, out var flags, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Gifload(filename, out var flags, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -1943,8 +1978,9 @@ public static Image Gifload(string filename, int? n = null, int? page = null, bo /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Gifload(string filename, out Enums.ForeignFlags flags, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Gifload(string filename, out Enums.ForeignFlags flags, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -1953,6 +1989,7 @@ public static Image Gifload(string filename, out Enums.ForeignFlags flags, int? options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -1969,7 +2006,7 @@ public static Image Gifload(string filename, out Enums.ForeignFlags flags, int? /// /// /// - /// using Image @out = NetVips.Image.GifloadBuffer(buffer, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.GifloadBuffer(buffer, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -1978,8 +2015,9 @@ public static Image Gifload(string filename, out Enums.ForeignFlags flags, int? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image GifloadBuffer(byte[] buffer, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image GifloadBuffer(byte[] buffer, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -1988,6 +2026,7 @@ public static Image GifloadBuffer(byte[] buffer, int? n = null, int? page = null options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("gifload_buffer", options, buffer) as Image; } @@ -1997,7 +2036,7 @@ public static Image GifloadBuffer(byte[] buffer, int? n = null, int? page = null /// /// /// - /// using Image @out = NetVips.Image.GifloadBuffer(buffer, out var flags, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.GifloadBuffer(buffer, out var flags, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -2007,8 +2046,9 @@ public static Image GifloadBuffer(byte[] buffer, int? n = null, int? page = null /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image GifloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image GifloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -2017,6 +2057,7 @@ public static Image GifloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, i options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -2033,7 +2074,7 @@ public static Image GifloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, i /// /// /// - /// using Image @out = NetVips.Image.GifloadSource(source, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.GifloadSource(source, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -2042,8 +2083,9 @@ public static Image GifloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, i /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image GifloadSource(Source source, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image GifloadSource(Source source, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -2052,6 +2094,7 @@ public static Image GifloadSource(Source source, int? n = null, int? page = null options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("gifload_source", options, source) as Image; } @@ -2061,7 +2104,7 @@ public static Image GifloadSource(Source source, int? n = null, int? page = null /// /// /// - /// using Image @out = NetVips.Image.GifloadStream(stream, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.GifloadStream(stream, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -2070,11 +2113,12 @@ public static Image GifloadSource(Source source, int? n = null, int? page = null /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image GifloadStream(Stream stream, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image GifloadStream(Stream stream, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = GifloadSource(source, n, page, memory, access, failOn); + var image = GifloadSource(source, n, page, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -2086,7 +2130,7 @@ public static Image GifloadStream(Stream stream, int? n = null, int? page = null /// /// /// - /// using Image @out = NetVips.Image.GifloadSource(source, out var flags, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.GifloadSource(source, out var flags, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -2096,8 +2140,9 @@ public static Image GifloadStream(Stream stream, int? n = null, int? page = null /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image GifloadSource(Source source, out Enums.ForeignFlags flags, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image GifloadSource(Source source, out Enums.ForeignFlags flags, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -2106,6 +2151,7 @@ public static Image GifloadSource(Source source, out Enums.ForeignFlags flags, i options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -2122,7 +2168,7 @@ public static Image GifloadSource(Source source, out Enums.ForeignFlags flags, i /// /// /// - /// using Image @out = NetVips.Image.GifloadStream(stream, out var flags, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.GifloadStream(stream, out var flags, n: int, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -2132,11 +2178,12 @@ public static Image GifloadSource(Source source, out Enums.ForeignFlags flags, i /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image GifloadStream(Stream stream, out Enums.ForeignFlags flags, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image GifloadStream(Stream stream, out Enums.ForeignFlags flags, int? n = null, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = GifloadSource(source, out flags, n, page, memory, access, failOn); + var image = GifloadSource(source, out flags, n, page, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -2367,7 +2414,7 @@ public Image Grid(int tileHeight, int across, int down) /// /// /// - /// using Image @out = NetVips.Image.Heifload(filename, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Heifload(filename, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -2378,8 +2425,9 @@ public Image Grid(int tileHeight, int across, int down) /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Heifload(string filename, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Heifload(string filename, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -2390,6 +2438,7 @@ public static Image Heifload(string filename, int? page = null, int? n = null, b options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("heifload", options, filename) as Image; } @@ -2399,7 +2448,7 @@ public static Image Heifload(string filename, int? page = null, int? n = null, b /// /// /// - /// using Image @out = NetVips.Image.Heifload(filename, out var flags, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Heifload(filename, out var flags, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -2411,8 +2460,9 @@ public static Image Heifload(string filename, int? page = null, int? n = null, b /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Heifload(string filename, out Enums.ForeignFlags flags, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Heifload(string filename, out Enums.ForeignFlags flags, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -2423,6 +2473,7 @@ public static Image Heifload(string filename, out Enums.ForeignFlags flags, int? options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -2439,7 +2490,7 @@ public static Image Heifload(string filename, out Enums.ForeignFlags flags, int? /// /// /// - /// using Image @out = NetVips.Image.HeifloadBuffer(buffer, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.HeifloadBuffer(buffer, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -2450,8 +2501,9 @@ public static Image Heifload(string filename, out Enums.ForeignFlags flags, int? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image HeifloadBuffer(byte[] buffer, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image HeifloadBuffer(byte[] buffer, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -2462,6 +2514,7 @@ public static Image HeifloadBuffer(byte[] buffer, int? page = null, int? n = nul options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("heifload_buffer", options, buffer) as Image; } @@ -2471,7 +2524,7 @@ public static Image HeifloadBuffer(byte[] buffer, int? page = null, int? n = nul /// /// /// - /// using Image @out = NetVips.Image.HeifloadBuffer(buffer, out var flags, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.HeifloadBuffer(buffer, out var flags, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -2483,8 +2536,9 @@ public static Image HeifloadBuffer(byte[] buffer, int? page = null, int? n = nul /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image HeifloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image HeifloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -2495,6 +2549,7 @@ public static Image HeifloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -2511,7 +2566,7 @@ public static Image HeifloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.HeifloadSource(source, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.HeifloadSource(source, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -2522,8 +2577,9 @@ public static Image HeifloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image HeifloadSource(Source source, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image HeifloadSource(Source source, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -2534,6 +2590,7 @@ public static Image HeifloadSource(Source source, int? page = null, int? n = nul options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("heifload_source", options, source) as Image; } @@ -2543,7 +2600,7 @@ public static Image HeifloadSource(Source source, int? page = null, int? n = nul /// /// /// - /// using Image @out = NetVips.Image.HeifloadStream(stream, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.HeifloadStream(stream, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -2554,11 +2611,12 @@ public static Image HeifloadSource(Source source, int? page = null, int? n = nul /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image HeifloadStream(Stream stream, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image HeifloadStream(Stream stream, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = HeifloadSource(source, page, n, thumbnail, unlimited, memory, access, failOn); + var image = HeifloadSource(source, page, n, thumbnail, unlimited, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -2570,7 +2628,7 @@ public static Image HeifloadStream(Stream stream, int? page = null, int? n = nul /// /// /// - /// using Image @out = NetVips.Image.HeifloadSource(source, out var flags, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.HeifloadSource(source, out var flags, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -2582,8 +2640,9 @@ public static Image HeifloadStream(Stream stream, int? page = null, int? n = nul /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image HeifloadSource(Source source, out Enums.ForeignFlags flags, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image HeifloadSource(Source source, out Enums.ForeignFlags flags, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -2594,6 +2653,7 @@ public static Image HeifloadSource(Source source, out Enums.ForeignFlags flags, options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -2610,7 +2670,7 @@ public static Image HeifloadSource(Source source, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.HeifloadStream(stream, out var flags, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.HeifloadStream(stream, out var flags, page: int, n: int, thumbnail: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -2622,11 +2682,12 @@ public static Image HeifloadSource(Source source, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image HeifloadStream(Stream stream, out Enums.ForeignFlags flags, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image HeifloadStream(Stream stream, out Enums.ForeignFlags flags, int? page = null, int? n = null, bool? thumbnail = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = HeifloadSource(source, out flags, page, n, thumbnail, unlimited, memory, access, failOn); + var image = HeifloadSource(source, out flags, page, n, thumbnail, unlimited, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -3225,7 +3286,7 @@ public Image Join(Image in2, Enums.Direction direction, bool? expand = null, int /// /// /// - /// using Image @out = NetVips.Image.Jp2kload(filename, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jp2kload(filename, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -3233,8 +3294,9 @@ public Image Join(Image in2, Enums.Direction direction, bool? expand = null, int /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jp2kload(string filename, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jp2kload(string filename, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3242,6 +3304,7 @@ public static Image Jp2kload(string filename, int? page = null, bool? memory = n options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("jp2kload", options, filename) as Image; } @@ -3251,7 +3314,7 @@ public static Image Jp2kload(string filename, int? page = null, bool? memory = n /// /// /// - /// using Image @out = NetVips.Image.Jp2kload(filename, out var flags, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jp2kload(filename, out var flags, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -3260,8 +3323,9 @@ public static Image Jp2kload(string filename, int? page = null, bool? memory = n /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jp2kload(string filename, out Enums.ForeignFlags flags, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jp2kload(string filename, out Enums.ForeignFlags flags, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3269,6 +3333,7 @@ public static Image Jp2kload(string filename, out Enums.ForeignFlags flags, int? options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -3285,7 +3350,7 @@ public static Image Jp2kload(string filename, out Enums.ForeignFlags flags, int? /// /// /// - /// using Image @out = NetVips.Image.Jp2kloadBuffer(buffer, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jp2kloadBuffer(buffer, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -3293,8 +3358,9 @@ public static Image Jp2kload(string filename, out Enums.ForeignFlags flags, int? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jp2kloadBuffer(byte[] buffer, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jp2kloadBuffer(byte[] buffer, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3302,6 +3368,7 @@ public static Image Jp2kloadBuffer(byte[] buffer, int? page = null, bool? memory options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("jp2kload_buffer", options, buffer) as Image; } @@ -3311,7 +3378,7 @@ public static Image Jp2kloadBuffer(byte[] buffer, int? page = null, bool? memory /// /// /// - /// using Image @out = NetVips.Image.Jp2kloadBuffer(buffer, out var flags, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jp2kloadBuffer(buffer, out var flags, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -3320,8 +3387,9 @@ public static Image Jp2kloadBuffer(byte[] buffer, int? page = null, bool? memory /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jp2kloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jp2kloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3329,6 +3397,7 @@ public static Image Jp2kloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -3345,7 +3414,7 @@ public static Image Jp2kloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.Jp2kloadSource(source, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jp2kloadSource(source, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -3353,8 +3422,9 @@ public static Image Jp2kloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jp2kloadSource(Source source, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jp2kloadSource(Source source, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3362,6 +3432,7 @@ public static Image Jp2kloadSource(Source source, int? page = null, bool? memory options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("jp2kload_source", options, source) as Image; } @@ -3371,7 +3442,7 @@ public static Image Jp2kloadSource(Source source, int? page = null, bool? memory /// /// /// - /// using Image @out = NetVips.Image.Jp2kloadStream(stream, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jp2kloadStream(stream, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -3379,11 +3450,12 @@ public static Image Jp2kloadSource(Source source, int? page = null, bool? memory /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jp2kloadStream(Stream stream, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jp2kloadStream(Stream stream, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = Jp2kloadSource(source, page, memory, access, failOn); + var image = Jp2kloadSource(source, page, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -3395,7 +3467,7 @@ public static Image Jp2kloadStream(Stream stream, int? page = null, bool? memory /// /// /// - /// using Image @out = NetVips.Image.Jp2kloadSource(source, out var flags, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jp2kloadSource(source, out var flags, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -3404,8 +3476,9 @@ public static Image Jp2kloadStream(Stream stream, int? page = null, bool? memory /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jp2kloadSource(Source source, out Enums.ForeignFlags flags, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jp2kloadSource(Source source, out Enums.ForeignFlags flags, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3413,6 +3486,7 @@ public static Image Jp2kloadSource(Source source, out Enums.ForeignFlags flags, options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -3429,7 +3503,7 @@ public static Image Jp2kloadSource(Source source, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.Jp2kloadStream(stream, out var flags, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jp2kloadStream(stream, out var flags, page: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -3438,11 +3512,12 @@ public static Image Jp2kloadSource(Source source, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jp2kloadStream(Stream stream, out Enums.ForeignFlags flags, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jp2kloadStream(Stream stream, out Enums.ForeignFlags flags, int? page = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = Jp2kloadSource(source, out flags, page, memory, access, failOn); + var image = Jp2kloadSource(source, out flags, page, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -3576,7 +3651,7 @@ public void Jp2ksaveStream(Stream stream, int? tileWidth = null, int? tileHeight /// /// /// - /// using Image @out = NetVips.Image.Jpegload(filename, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jpegload(filename, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -3586,8 +3661,9 @@ public void Jp2ksaveStream(Stream stream, int? tileWidth = null, int? tileHeight /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jpegload(string filename, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jpegload(string filename, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3597,6 +3673,7 @@ public static Image Jpegload(string filename, int? shrink = null, bool? autorota options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("jpegload", options, filename) as Image; } @@ -3606,7 +3683,7 @@ public static Image Jpegload(string filename, int? shrink = null, bool? autorota /// /// /// - /// using Image @out = NetVips.Image.Jpegload(filename, out var flags, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jpegload(filename, out var flags, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -3617,8 +3694,9 @@ public static Image Jpegload(string filename, int? shrink = null, bool? autorota /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jpegload(string filename, out Enums.ForeignFlags flags, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jpegload(string filename, out Enums.ForeignFlags flags, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3628,6 +3706,7 @@ public static Image Jpegload(string filename, out Enums.ForeignFlags flags, int? options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -3644,7 +3723,7 @@ public static Image Jpegload(string filename, out Enums.ForeignFlags flags, int? /// /// /// - /// using Image @out = NetVips.Image.JpegloadBuffer(buffer, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JpegloadBuffer(buffer, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -3654,8 +3733,9 @@ public static Image Jpegload(string filename, out Enums.ForeignFlags flags, int? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JpegloadBuffer(byte[] buffer, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JpegloadBuffer(byte[] buffer, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3665,6 +3745,7 @@ public static Image JpegloadBuffer(byte[] buffer, int? shrink = null, bool? auto options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("jpegload_buffer", options, buffer) as Image; } @@ -3674,7 +3755,7 @@ public static Image JpegloadBuffer(byte[] buffer, int? shrink = null, bool? auto /// /// /// - /// using Image @out = NetVips.Image.JpegloadBuffer(buffer, out var flags, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JpegloadBuffer(buffer, out var flags, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -3685,8 +3766,9 @@ public static Image JpegloadBuffer(byte[] buffer, int? shrink = null, bool? auto /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JpegloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JpegloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3696,6 +3778,7 @@ public static Image JpegloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -3712,7 +3795,7 @@ public static Image JpegloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.JpegloadSource(source, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JpegloadSource(source, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -3722,8 +3805,9 @@ public static Image JpegloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JpegloadSource(Source source, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JpegloadSource(Source source, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3733,6 +3817,7 @@ public static Image JpegloadSource(Source source, int? shrink = null, bool? auto options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("jpegload_source", options, source) as Image; } @@ -3742,7 +3827,7 @@ public static Image JpegloadSource(Source source, int? shrink = null, bool? auto /// /// /// - /// using Image @out = NetVips.Image.JpegloadStream(stream, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JpegloadStream(stream, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -3752,11 +3837,12 @@ public static Image JpegloadSource(Source source, int? shrink = null, bool? auto /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JpegloadStream(Stream stream, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JpegloadStream(Stream stream, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = JpegloadSource(source, shrink, autorotate, unlimited, memory, access, failOn); + var image = JpegloadSource(source, shrink, autorotate, unlimited, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -3768,7 +3854,7 @@ public static Image JpegloadStream(Stream stream, int? shrink = null, bool? auto /// /// /// - /// using Image @out = NetVips.Image.JpegloadSource(source, out var flags, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JpegloadSource(source, out var flags, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -3779,8 +3865,9 @@ public static Image JpegloadStream(Stream stream, int? shrink = null, bool? auto /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JpegloadSource(Source source, out Enums.ForeignFlags flags, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JpegloadSource(Source source, out Enums.ForeignFlags flags, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -3790,6 +3877,7 @@ public static Image JpegloadSource(Source source, out Enums.ForeignFlags flags, options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -3806,7 +3894,7 @@ public static Image JpegloadSource(Source source, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.JpegloadStream(stream, out var flags, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JpegloadStream(stream, out var flags, shrink: int, autorotate: bool, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -3817,11 +3905,12 @@ public static Image JpegloadSource(Source source, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JpegloadStream(Stream stream, out Enums.ForeignFlags flags, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JpegloadStream(Stream stream, out Enums.ForeignFlags flags, int? shrink = null, bool? autorotate = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = JpegloadSource(source, out flags, shrink, autorotate, unlimited, memory, access, failOn); + var image = JpegloadSource(source, out flags, shrink, autorotate, unlimited, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -4032,21 +4121,23 @@ public void JpegsaveStream(Stream stream, int? q = null, string profile = null, /// /// /// - /// using Image @out = NetVips.Image.Jxlload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jxlload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jxlload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jxlload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("jxlload", options, filename) as Image; } @@ -4056,7 +4147,7 @@ public static Image Jxlload(string filename, bool? memory = null, Enums.Access? /// /// /// - /// using Image @out = NetVips.Image.Jxlload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Jxlload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -4064,14 +4155,16 @@ public static Image Jxlload(string filename, bool? memory = null, Enums.Access? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Jxlload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Jxlload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -4088,21 +4181,23 @@ public static Image Jxlload(string filename, out Enums.ForeignFlags flags, bool? /// /// /// - /// using Image @out = NetVips.Image.JxlloadBuffer(buffer, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JxlloadBuffer(buffer, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JxlloadBuffer(byte[] buffer, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JxlloadBuffer(byte[] buffer, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("jxlload_buffer", options, buffer) as Image; } @@ -4112,7 +4207,7 @@ public static Image JxlloadBuffer(byte[] buffer, bool? memory = null, Enums.Acce /// /// /// - /// using Image @out = NetVips.Image.JxlloadBuffer(buffer, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JxlloadBuffer(buffer, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -4120,14 +4215,16 @@ public static Image JxlloadBuffer(byte[] buffer, bool? memory = null, Enums.Acce /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JxlloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JxlloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -4144,21 +4241,23 @@ public static Image JxlloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, b /// /// /// - /// using Image @out = NetVips.Image.JxlloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JxlloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JxlloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JxlloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("jxlload_source", options, source) as Image; } @@ -4168,18 +4267,19 @@ public static Image JxlloadSource(Source source, bool? memory = null, Enums.Acce /// /// /// - /// using Image @out = NetVips.Image.JxlloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JxlloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JxlloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JxlloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = JxlloadSource(source, memory, access, failOn); + var image = JxlloadSource(source, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -4191,7 +4291,7 @@ public static Image JxlloadStream(Stream stream, bool? memory = null, Enums.Acce /// /// /// - /// using Image @out = NetVips.Image.JxlloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JxlloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -4199,14 +4299,16 @@ public static Image JxlloadStream(Stream stream, bool? memory = null, Enums.Acce /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JxlloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JxlloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -4223,7 +4325,7 @@ public static Image JxlloadSource(Source source, out Enums.ForeignFlags flags, b /// /// /// - /// using Image @out = NetVips.Image.JxlloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.JxlloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -4231,11 +4333,12 @@ public static Image JxlloadSource(Source source, out Enums.ForeignFlags flags, b /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image JxlloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image JxlloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = JxlloadSource(source, out flags, memory, access, failOn); + var image = JxlloadSource(source, out flags, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -4636,7 +4739,7 @@ public static Image Logmat(double sigma, double minAmpl, bool? separable = null, /// /// /// - /// using Image @out = NetVips.Image.Magickload(filename, density: string, page: int, n: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Magickload(filename, density: string, page: int, n: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -4646,8 +4749,9 @@ public static Image Logmat(double sigma, double minAmpl, bool? separable = null, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Magickload(string filename, string density = null, int? page = null, int? n = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Magickload(string filename, string density = null, int? page = null, int? n = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -4657,6 +4761,7 @@ public static Image Magickload(string filename, string density = null, int? page options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("magickload", options, filename) as Image; } @@ -4666,7 +4771,7 @@ public static Image Magickload(string filename, string density = null, int? page /// /// /// - /// using Image @out = NetVips.Image.Magickload(filename, out var flags, density: string, page: int, n: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Magickload(filename, out var flags, density: string, page: int, n: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -4677,8 +4782,9 @@ public static Image Magickload(string filename, string density = null, int? page /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Magickload(string filename, out Enums.ForeignFlags flags, string density = null, int? page = null, int? n = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Magickload(string filename, out Enums.ForeignFlags flags, string density = null, int? page = null, int? n = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -4688,6 +4794,7 @@ public static Image Magickload(string filename, out Enums.ForeignFlags flags, st options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -4704,7 +4811,7 @@ public static Image Magickload(string filename, out Enums.ForeignFlags flags, st /// /// /// - /// using Image @out = NetVips.Image.MagickloadBuffer(buffer, density: string, page: int, n: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.MagickloadBuffer(buffer, density: string, page: int, n: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -4714,8 +4821,9 @@ public static Image Magickload(string filename, out Enums.ForeignFlags flags, st /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image MagickloadBuffer(byte[] buffer, string density = null, int? page = null, int? n = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image MagickloadBuffer(byte[] buffer, string density = null, int? page = null, int? n = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -4725,6 +4833,7 @@ public static Image MagickloadBuffer(byte[] buffer, string density = null, int? options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("magickload_buffer", options, buffer) as Image; } @@ -4734,7 +4843,7 @@ public static Image MagickloadBuffer(byte[] buffer, string density = null, int? /// /// /// - /// using Image @out = NetVips.Image.MagickloadBuffer(buffer, out var flags, density: string, page: int, n: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.MagickloadBuffer(buffer, out var flags, density: string, page: int, n: int, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -4745,8 +4854,9 @@ public static Image MagickloadBuffer(byte[] buffer, string density = null, int? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image MagickloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, string density = null, int? page = null, int? n = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image MagickloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, string density = null, int? page = null, int? n = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -4756,6 +4866,7 @@ public static Image MagickloadBuffer(byte[] buffer, out Enums.ForeignFlags flags options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -5263,21 +5374,23 @@ public Image Math2Const(Enums.OperationMath2 math2, double[] c) /// /// /// - /// using Image @out = NetVips.Image.Matload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Matload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Matload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Matload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("matload", options, filename) as Image; } @@ -5287,7 +5400,7 @@ public static Image Matload(string filename, bool? memory = null, Enums.Access? /// /// /// - /// using Image @out = NetVips.Image.Matload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Matload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -5295,14 +5408,16 @@ public static Image Matload(string filename, bool? memory = null, Enums.Access? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Matload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Matload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -5333,21 +5448,23 @@ public Image Matrixinvert() /// /// /// - /// using Image @out = NetVips.Image.Matrixload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Matrixload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Matrixload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Matrixload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("matrixload", options, filename) as Image; } @@ -5357,7 +5474,7 @@ public static Image Matrixload(string filename, bool? memory = null, Enums.Acces /// /// /// - /// using Image @out = NetVips.Image.Matrixload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Matrixload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -5365,14 +5482,16 @@ public static Image Matrixload(string filename, bool? memory = null, Enums.Acces /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Matrixload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Matrixload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -5389,21 +5508,23 @@ public static Image Matrixload(string filename, out Enums.ForeignFlags flags, bo /// /// /// - /// using Image @out = NetVips.Image.MatrixloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.MatrixloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image MatrixloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image MatrixloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("matrixload_source", options, source) as Image; } @@ -5413,18 +5534,19 @@ public static Image MatrixloadSource(Source source, bool? memory = null, Enums.A /// /// /// - /// using Image @out = NetVips.Image.MatrixloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.MatrixloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image MatrixloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image MatrixloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = MatrixloadSource(source, memory, access, failOn); + var image = MatrixloadSource(source, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -5436,7 +5558,7 @@ public static Image MatrixloadStream(Stream stream, bool? memory = null, Enums.A /// /// /// - /// using Image @out = NetVips.Image.MatrixloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.MatrixloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -5444,14 +5566,16 @@ public static Image MatrixloadStream(Stream stream, bool? memory = null, Enums.A /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image MatrixloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image MatrixloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -5468,7 +5592,7 @@ public static Image MatrixloadSource(Source source, out Enums.ForeignFlags flags /// /// /// - /// using Image @out = NetVips.Image.MatrixloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.MatrixloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -5476,11 +5600,12 @@ public static Image MatrixloadSource(Source source, out Enums.ForeignFlags flags /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image MatrixloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image MatrixloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = MatrixloadSource(source, out flags, memory, access, failOn); + var image = MatrixloadSource(source, out flags, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -6393,21 +6518,23 @@ public Image Multiply(Image right) /// /// /// - /// using Image @out = NetVips.Image.Niftiload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Niftiload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Niftiload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Niftiload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("niftiload", options, filename) as Image; } @@ -6417,7 +6544,7 @@ public static Image Niftiload(string filename, bool? memory = null, Enums.Access /// /// /// - /// using Image @out = NetVips.Image.Niftiload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Niftiload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -6425,14 +6552,16 @@ public static Image Niftiload(string filename, bool? memory = null, Enums.Access /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Niftiload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Niftiload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -6449,21 +6578,23 @@ public static Image Niftiload(string filename, out Enums.ForeignFlags flags, boo /// /// /// - /// using Image @out = NetVips.Image.NiftiloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.NiftiloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image NiftiloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image NiftiloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("niftiload_source", options, source) as Image; } @@ -6473,18 +6604,19 @@ public static Image NiftiloadSource(Source source, bool? memory = null, Enums.Ac /// /// /// - /// using Image @out = NetVips.Image.NiftiloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.NiftiloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image NiftiloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image NiftiloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = NiftiloadSource(source, memory, access, failOn); + var image = NiftiloadSource(source, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -6496,7 +6628,7 @@ public static Image NiftiloadStream(Stream stream, bool? memory = null, Enums.Ac /// /// /// - /// using Image @out = NetVips.Image.NiftiloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.NiftiloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -6504,14 +6636,16 @@ public static Image NiftiloadStream(Stream stream, bool? memory = null, Enums.Ac /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image NiftiloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image NiftiloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -6528,7 +6662,7 @@ public static Image NiftiloadSource(Source source, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.NiftiloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.NiftiloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -6536,11 +6670,12 @@ public static Image NiftiloadSource(Source source, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image NiftiloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image NiftiloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = NiftiloadSource(source, out flags, memory, access, failOn); + var image = NiftiloadSource(source, out flags, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -6575,21 +6710,23 @@ public void Niftisave(string filename, bool? strip = null, double[] background = /// /// /// - /// using Image @out = NetVips.Image.Openexrload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Openexrload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Openexrload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Openexrload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("openexrload", options, filename) as Image; } @@ -6599,7 +6736,7 @@ public static Image Openexrload(string filename, bool? memory = null, Enums.Acce /// /// /// - /// using Image @out = NetVips.Image.Openexrload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Openexrload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -6607,14 +6744,16 @@ public static Image Openexrload(string filename, bool? memory = null, Enums.Acce /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Openexrload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Openexrload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -6631,7 +6770,7 @@ public static Image Openexrload(string filename, out Enums.ForeignFlags flags, b /// /// /// - /// using Image @out = NetVips.Image.Openslideload(filename, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Openslideload(filename, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -6643,8 +6782,9 @@ public static Image Openexrload(string filename, out Enums.ForeignFlags flags, b /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Openslideload(string filename, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Openslideload(string filename, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -6656,6 +6796,7 @@ public static Image Openslideload(string filename, int? level = null, bool? auto options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("openslideload", options, filename) as Image; } @@ -6665,7 +6806,7 @@ public static Image Openslideload(string filename, int? level = null, bool? auto /// /// /// - /// using Image @out = NetVips.Image.Openslideload(filename, out var flags, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Openslideload(filename, out var flags, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -6678,8 +6819,9 @@ public static Image Openslideload(string filename, int? level = null, bool? auto /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Openslideload(string filename, out Enums.ForeignFlags flags, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Openslideload(string filename, out Enums.ForeignFlags flags, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -6691,6 +6833,7 @@ public static Image Openslideload(string filename, out Enums.ForeignFlags flags, options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -6707,7 +6850,7 @@ public static Image Openslideload(string filename, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.OpenslideloadSource(source, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.OpenslideloadSource(source, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -6719,8 +6862,9 @@ public static Image Openslideload(string filename, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image OpenslideloadSource(Source source, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image OpenslideloadSource(Source source, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -6732,6 +6876,7 @@ public static Image OpenslideloadSource(Source source, int? level = null, bool? options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("openslideload_source", options, source) as Image; } @@ -6741,7 +6886,7 @@ public static Image OpenslideloadSource(Source source, int? level = null, bool? /// /// /// - /// using Image @out = NetVips.Image.OpenslideloadStream(stream, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.OpenslideloadStream(stream, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -6753,11 +6898,12 @@ public static Image OpenslideloadSource(Source source, int? level = null, bool? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image OpenslideloadStream(Stream stream, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image OpenslideloadStream(Stream stream, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = OpenslideloadSource(source, level, autocrop, associated, attachAssociated, rgb, memory, access, failOn); + var image = OpenslideloadSource(source, level, autocrop, associated, attachAssociated, rgb, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -6769,7 +6915,7 @@ public static Image OpenslideloadStream(Stream stream, int? level = null, bool? /// /// /// - /// using Image @out = NetVips.Image.OpenslideloadSource(source, out var flags, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.OpenslideloadSource(source, out var flags, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -6782,8 +6928,9 @@ public static Image OpenslideloadStream(Stream stream, int? level = null, bool? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image OpenslideloadSource(Source source, out Enums.ForeignFlags flags, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image OpenslideloadSource(Source source, out Enums.ForeignFlags flags, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -6795,6 +6942,7 @@ public static Image OpenslideloadSource(Source source, out Enums.ForeignFlags fl options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -6811,7 +6959,7 @@ public static Image OpenslideloadSource(Source source, out Enums.ForeignFlags fl /// /// /// - /// using Image @out = NetVips.Image.OpenslideloadStream(stream, out var flags, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.OpenslideloadStream(stream, out var flags, level: int, autocrop: bool, associated: string, attachAssociated: bool, rgb: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -6824,11 +6972,12 @@ public static Image OpenslideloadSource(Source source, out Enums.ForeignFlags fl /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image OpenslideloadStream(Stream stream, out Enums.ForeignFlags flags, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image OpenslideloadStream(Stream stream, out Enums.ForeignFlags flags, int? level = null, bool? autocrop = null, string associated = null, bool? attachAssociated = null, bool? rgb = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = OpenslideloadSource(source, out flags, level, autocrop, associated, attachAssociated, rgb, memory, access, failOn); + var image = OpenslideloadSource(source, out flags, level, autocrop, associated, attachAssociated, rgb, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -6840,7 +6989,7 @@ public static Image OpenslideloadStream(Stream stream, out Enums.ForeignFlags fl /// /// /// - /// using Image @out = NetVips.Image.Pdfload(filename, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Pdfload(filename, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -6853,8 +7002,9 @@ public static Image OpenslideloadStream(Stream stream, out Enums.ForeignFlags fl /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Pdfload(string filename, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Pdfload(string filename, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -6867,6 +7017,7 @@ public static Image Pdfload(string filename, int? page = null, int? n = null, do options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("pdfload", options, filename) as Image; } @@ -6876,7 +7027,7 @@ public static Image Pdfload(string filename, int? page = null, int? n = null, do /// /// /// - /// using Image @out = NetVips.Image.Pdfload(filename, out var flags, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Pdfload(filename, out var flags, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -6890,8 +7041,9 @@ public static Image Pdfload(string filename, int? page = null, int? n = null, do /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Pdfload(string filename, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Pdfload(string filename, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -6904,6 +7056,7 @@ public static Image Pdfload(string filename, out Enums.ForeignFlags flags, int? options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -6920,7 +7073,7 @@ public static Image Pdfload(string filename, out Enums.ForeignFlags flags, int? /// /// /// - /// using Image @out = NetVips.Image.PdfloadBuffer(buffer, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PdfloadBuffer(buffer, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -6933,8 +7086,9 @@ public static Image Pdfload(string filename, out Enums.ForeignFlags flags, int? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PdfloadBuffer(byte[] buffer, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PdfloadBuffer(byte[] buffer, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -6947,6 +7101,7 @@ public static Image PdfloadBuffer(byte[] buffer, int? page = null, int? n = null options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("pdfload_buffer", options, buffer) as Image; } @@ -6956,7 +7111,7 @@ public static Image PdfloadBuffer(byte[] buffer, int? page = null, int? n = null /// /// /// - /// using Image @out = NetVips.Image.PdfloadBuffer(buffer, out var flags, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PdfloadBuffer(buffer, out var flags, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -6970,8 +7125,9 @@ public static Image PdfloadBuffer(byte[] buffer, int? page = null, int? n = null /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PdfloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PdfloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -6984,6 +7140,7 @@ public static Image PdfloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, i options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -7000,7 +7157,7 @@ public static Image PdfloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, i /// /// /// - /// using Image @out = NetVips.Image.PdfloadSource(source, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PdfloadSource(source, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -7013,8 +7170,9 @@ public static Image PdfloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, i /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PdfloadSource(Source source, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PdfloadSource(Source source, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -7027,6 +7185,7 @@ public static Image PdfloadSource(Source source, int? page = null, int? n = null options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("pdfload_source", options, source) as Image; } @@ -7036,7 +7195,7 @@ public static Image PdfloadSource(Source source, int? page = null, int? n = null /// /// /// - /// using Image @out = NetVips.Image.PdfloadStream(stream, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PdfloadStream(stream, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -7049,11 +7208,12 @@ public static Image PdfloadSource(Source source, int? page = null, int? n = null /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PdfloadStream(Stream stream, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PdfloadStream(Stream stream, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = PdfloadSource(source, page, n, dpi, scale, background, password, memory, access, failOn); + var image = PdfloadSource(source, page, n, dpi, scale, background, password, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -7065,7 +7225,7 @@ public static Image PdfloadStream(Stream stream, int? page = null, int? n = null /// /// /// - /// using Image @out = NetVips.Image.PdfloadSource(source, out var flags, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PdfloadSource(source, out var flags, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -7079,8 +7239,9 @@ public static Image PdfloadStream(Stream stream, int? page = null, int? n = null /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PdfloadSource(Source source, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PdfloadSource(Source source, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -7093,6 +7254,7 @@ public static Image PdfloadSource(Source source, out Enums.ForeignFlags flags, i options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -7109,7 +7271,7 @@ public static Image PdfloadSource(Source source, out Enums.ForeignFlags flags, i /// /// /// - /// using Image @out = NetVips.Image.PdfloadStream(stream, out var flags, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PdfloadStream(stream, out var flags, page: int, n: int, dpi: double, scale: double, background: double[], password: string, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -7123,11 +7285,12 @@ public static Image PdfloadSource(Source source, out Enums.ForeignFlags flags, i /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PdfloadStream(Stream stream, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PdfloadStream(Stream stream, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? dpi = null, double? scale = null, double[] background = null, string password = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = PdfloadSource(source, out flags, page, n, dpi, scale, background, password, memory, access, failOn); + var image = PdfloadSource(source, out flags, page, n, dpi, scale, background, password, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -7194,7 +7357,7 @@ public Image Phasecor(Image in2) /// /// /// - /// using Image @out = NetVips.Image.Pngload(filename, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Pngload(filename, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -7202,8 +7365,9 @@ public Image Phasecor(Image in2) /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Pngload(string filename, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Pngload(string filename, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -7211,6 +7375,7 @@ public static Image Pngload(string filename, bool? unlimited = null, bool? memor options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("pngload", options, filename) as Image; } @@ -7220,7 +7385,7 @@ public static Image Pngload(string filename, bool? unlimited = null, bool? memor /// /// /// - /// using Image @out = NetVips.Image.Pngload(filename, out var flags, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Pngload(filename, out var flags, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -7229,8 +7394,9 @@ public static Image Pngload(string filename, bool? unlimited = null, bool? memor /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Pngload(string filename, out Enums.ForeignFlags flags, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Pngload(string filename, out Enums.ForeignFlags flags, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -7238,6 +7404,7 @@ public static Image Pngload(string filename, out Enums.ForeignFlags flags, bool? options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -7254,7 +7421,7 @@ public static Image Pngload(string filename, out Enums.ForeignFlags flags, bool? /// /// /// - /// using Image @out = NetVips.Image.PngloadBuffer(buffer, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PngloadBuffer(buffer, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -7262,8 +7429,9 @@ public static Image Pngload(string filename, out Enums.ForeignFlags flags, bool? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PngloadBuffer(byte[] buffer, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PngloadBuffer(byte[] buffer, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -7271,6 +7439,7 @@ public static Image PngloadBuffer(byte[] buffer, bool? unlimited = null, bool? m options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("pngload_buffer", options, buffer) as Image; } @@ -7280,7 +7449,7 @@ public static Image PngloadBuffer(byte[] buffer, bool? unlimited = null, bool? m /// /// /// - /// using Image @out = NetVips.Image.PngloadBuffer(buffer, out var flags, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PngloadBuffer(buffer, out var flags, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -7289,8 +7458,9 @@ public static Image PngloadBuffer(byte[] buffer, bool? unlimited = null, bool? m /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PngloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PngloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -7298,6 +7468,7 @@ public static Image PngloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, b options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -7314,7 +7485,7 @@ public static Image PngloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, b /// /// /// - /// using Image @out = NetVips.Image.PngloadSource(source, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PngloadSource(source, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -7322,8 +7493,9 @@ public static Image PngloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, b /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PngloadSource(Source source, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PngloadSource(Source source, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -7331,6 +7503,7 @@ public static Image PngloadSource(Source source, bool? unlimited = null, bool? m options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("pngload_source", options, source) as Image; } @@ -7340,7 +7513,7 @@ public static Image PngloadSource(Source source, bool? unlimited = null, bool? m /// /// /// - /// using Image @out = NetVips.Image.PngloadStream(stream, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PngloadStream(stream, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -7348,11 +7521,12 @@ public static Image PngloadSource(Source source, bool? unlimited = null, bool? m /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PngloadStream(Stream stream, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PngloadStream(Stream stream, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = PngloadSource(source, unlimited, memory, access, failOn); + var image = PngloadSource(source, unlimited, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -7364,7 +7538,7 @@ public static Image PngloadStream(Stream stream, bool? unlimited = null, bool? m /// /// /// - /// using Image @out = NetVips.Image.PngloadSource(source, out var flags, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PngloadSource(source, out var flags, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -7373,8 +7547,9 @@ public static Image PngloadStream(Stream stream, bool? unlimited = null, bool? m /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PngloadSource(Source source, out Enums.ForeignFlags flags, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PngloadSource(Source source, out Enums.ForeignFlags flags, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -7382,6 +7557,7 @@ public static Image PngloadSource(Source source, out Enums.ForeignFlags flags, b options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -7398,7 +7574,7 @@ public static Image PngloadSource(Source source, out Enums.ForeignFlags flags, b /// /// /// - /// using Image @out = NetVips.Image.PngloadStream(stream, out var flags, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PngloadStream(stream, out var flags, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -7407,11 +7583,12 @@ public static Image PngloadSource(Source source, out Enums.ForeignFlags flags, b /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PngloadStream(Stream stream, out Enums.ForeignFlags flags, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PngloadStream(Stream stream, out Enums.ForeignFlags flags, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = PngloadSource(source, out flags, unlimited, memory, access, failOn); + var image = PngloadSource(source, out flags, unlimited, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -7573,21 +7750,23 @@ public void PngsaveStream(Stream stream, int? compression = null, bool? interlac /// /// /// - /// using Image @out = NetVips.Image.Ppmload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Ppmload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Ppmload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Ppmload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("ppmload", options, filename) as Image; } @@ -7597,7 +7776,7 @@ public static Image Ppmload(string filename, bool? memory = null, Enums.Access? /// /// /// - /// using Image @out = NetVips.Image.Ppmload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Ppmload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -7605,14 +7784,16 @@ public static Image Ppmload(string filename, bool? memory = null, Enums.Access? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Ppmload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Ppmload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -7629,21 +7810,23 @@ public static Image Ppmload(string filename, out Enums.ForeignFlags flags, bool? /// /// /// - /// using Image @out = NetVips.Image.PpmloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PpmloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PpmloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PpmloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("ppmload_source", options, source) as Image; } @@ -7653,18 +7836,19 @@ public static Image PpmloadSource(Source source, bool? memory = null, Enums.Acce /// /// /// - /// using Image @out = NetVips.Image.PpmloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PpmloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PpmloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PpmloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = PpmloadSource(source, memory, access, failOn); + var image = PpmloadSource(source, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -7676,7 +7860,7 @@ public static Image PpmloadStream(Stream stream, bool? memory = null, Enums.Acce /// /// /// - /// using Image @out = NetVips.Image.PpmloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PpmloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -7684,14 +7868,16 @@ public static Image PpmloadStream(Stream stream, bool? memory = null, Enums.Acce /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PpmloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PpmloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -7708,7 +7894,7 @@ public static Image PpmloadSource(Source source, out Enums.ForeignFlags flags, b /// /// /// - /// using Image @out = NetVips.Image.PpmloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.PpmloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -7716,11 +7902,12 @@ public static Image PpmloadSource(Source source, out Enums.ForeignFlags flags, b /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image PpmloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image PpmloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = PpmloadSource(source, out flags, memory, access, failOn); + var image = PpmloadSource(source, out flags, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -7825,6 +8012,20 @@ public Image Premultiply(double? maxAlpha = null) return this.Call("premultiply", options) as Image; } + /// + /// Prewitt edge detector. + /// + /// + /// + /// using Image @out = in.Prewitt(); + /// + /// + /// A new . + public Image Prewitt() + { + return this.Call("prewitt") as Image; + } + /// /// Find image profiles. /// @@ -7907,21 +8108,23 @@ public Image Rad2float() /// /// /// - /// using Image @out = NetVips.Image.Radload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Radload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Radload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Radload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("radload", options, filename) as Image; } @@ -7931,7 +8134,7 @@ public static Image Radload(string filename, bool? memory = null, Enums.Access? /// /// /// - /// using Image @out = NetVips.Image.Radload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Radload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -7939,14 +8142,16 @@ public static Image Radload(string filename, bool? memory = null, Enums.Access? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Radload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Radload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -7963,21 +8168,23 @@ public static Image Radload(string filename, out Enums.ForeignFlags flags, bool? /// /// /// - /// using Image @out = NetVips.Image.RadloadBuffer(buffer, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.RadloadBuffer(buffer, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image RadloadBuffer(byte[] buffer, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image RadloadBuffer(byte[] buffer, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("radload_buffer", options, buffer) as Image; } @@ -7987,7 +8194,7 @@ public static Image RadloadBuffer(byte[] buffer, bool? memory = null, Enums.Acce /// /// /// - /// using Image @out = NetVips.Image.RadloadBuffer(buffer, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.RadloadBuffer(buffer, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -7995,14 +8202,16 @@ public static Image RadloadBuffer(byte[] buffer, bool? memory = null, Enums.Acce /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image RadloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image RadloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -8019,21 +8228,23 @@ public static Image RadloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, b /// /// /// - /// using Image @out = NetVips.Image.RadloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.RadloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image RadloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image RadloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("radload_source", options, source) as Image; } @@ -8043,18 +8254,19 @@ public static Image RadloadSource(Source source, bool? memory = null, Enums.Acce /// /// /// - /// using Image @out = NetVips.Image.RadloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.RadloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image RadloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image RadloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = RadloadSource(source, memory, access, failOn); + var image = RadloadSource(source, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -8066,7 +8278,7 @@ public static Image RadloadStream(Stream stream, bool? memory = null, Enums.Acce /// /// /// - /// using Image @out = NetVips.Image.RadloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.RadloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -8074,14 +8286,16 @@ public static Image RadloadStream(Stream stream, bool? memory = null, Enums.Acce /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image RadloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image RadloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -8098,7 +8312,7 @@ public static Image RadloadSource(Source source, out Enums.ForeignFlags flags, b /// /// /// - /// using Image @out = NetVips.Image.RadloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.RadloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -8106,11 +8320,12 @@ public static Image RadloadSource(Source source, out Enums.ForeignFlags flags, b /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image RadloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image RadloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = RadloadSource(source, out flags, memory, access, failOn); + var image = RadloadSource(source, out flags, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -8226,7 +8441,7 @@ public Image Rank(int width, int height, int index) /// /// /// - /// using Image @out = NetVips.Image.Rawload(filename, width, height, bands, offset: ulong, format: Enums.BandFormat, interpretation: Enums.Interpretation, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Rawload(filename, width, height, bands, offset: ulong, format: Enums.BandFormat, interpretation: Enums.Interpretation, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -8239,8 +8454,9 @@ public Image Rank(int width, int height, int index) /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Rawload(string filename, int width, int height, int bands, ulong? offset = null, Enums.BandFormat? format = null, Enums.Interpretation? interpretation = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Rawload(string filename, int width, int height, int bands, ulong? offset = null, Enums.BandFormat? format = null, Enums.Interpretation? interpretation = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -8250,6 +8466,7 @@ public static Image Rawload(string filename, int width, int height, int bands, u options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("rawload", options, filename, width, height, bands) as Image; } @@ -8259,7 +8476,7 @@ public static Image Rawload(string filename, int width, int height, int bands, u /// /// /// - /// using Image @out = NetVips.Image.Rawload(filename, width, height, bands, out var flags, offset: ulong, format: Enums.BandFormat, interpretation: Enums.Interpretation, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Rawload(filename, width, height, bands, out var flags, offset: ulong, format: Enums.BandFormat, interpretation: Enums.Interpretation, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -8273,8 +8490,9 @@ public static Image Rawload(string filename, int width, int height, int bands, u /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Rawload(string filename, int width, int height, int bands, out Enums.ForeignFlags flags, ulong? offset = null, Enums.BandFormat? format = null, Enums.Interpretation? interpretation = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Rawload(string filename, int width, int height, int bands, out Enums.ForeignFlags flags, ulong? offset = null, Enums.BandFormat? format = null, Enums.Interpretation? interpretation = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -8284,6 +8502,7 @@ public static Image Rawload(string filename, int width, int height, int bands, o options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -8604,6 +8823,20 @@ public Image Round(Enums.OperationRound round) return this.Call("round", round) as Image; } + /// + /// Scharr edge detector. + /// + /// + /// + /// using Image @out = in.Scharr(); + /// + /// + /// A new . + public Image Scharr() + { + return this.Call("scharr") as Image; + } + /// /// Convert scRGB to BW. /// @@ -8842,18 +9075,20 @@ public static Image Sines(int width, int height, bool? uchar = null, double? hfr /// /// /// - /// using Image @out = input.Smartcrop(width, height, interesting: Enums.Interesting); + /// using Image @out = input.Smartcrop(width, height, interesting: Enums.Interesting, premultiplied: bool); /// /// /// Width of extract area. /// Height of extract area. /// How to measure interestingness. + /// Input image already has premultiplied alpha. /// A new . - public Image Smartcrop(int width, int height, Enums.Interesting? interesting = null) + public Image Smartcrop(int width, int height, Enums.Interesting? interesting = null, bool? premultiplied = null) { var options = new VOption(); options.AddIfPresent(nameof(interesting), interesting); + options.AddIfPresent(nameof(premultiplied), premultiplied); return this.Call("smartcrop", options, width, height) as Image; } @@ -8863,19 +9098,21 @@ public Image Smartcrop(int width, int height, Enums.Interesting? interesting = n /// /// /// - /// using Image @out = input.Smartcrop(width, height, out var attentionX, interesting: Enums.Interesting); + /// using Image @out = input.Smartcrop(width, height, out var attentionX, interesting: Enums.Interesting, premultiplied: bool); /// /// /// Width of extract area. /// Height of extract area. /// Horizontal position of attention centre. /// How to measure interestingness. + /// Input image already has premultiplied alpha. /// A new . - public Image Smartcrop(int width, int height, out int attentionX, Enums.Interesting? interesting = null) + public Image Smartcrop(int width, int height, out int attentionX, Enums.Interesting? interesting = null, bool? premultiplied = null) { var options = new VOption(); options.AddIfPresent(nameof(interesting), interesting); + options.AddIfPresent(nameof(premultiplied), premultiplied); options.Add("attention_x", true); @@ -8892,7 +9129,7 @@ public Image Smartcrop(int width, int height, out int attentionX, Enums.Interest /// /// /// - /// using Image @out = input.Smartcrop(width, height, out var attentionX, out var attentionY, interesting: Enums.Interesting); + /// using Image @out = input.Smartcrop(width, height, out var attentionX, out var attentionY, interesting: Enums.Interesting, premultiplied: bool); /// /// /// Width of extract area. @@ -8900,12 +9137,14 @@ public Image Smartcrop(int width, int height, out int attentionX, Enums.Interest /// Horizontal position of attention centre. /// Vertical position of attention centre. /// How to measure interestingness. + /// Input image already has premultiplied alpha. /// A new . - public Image Smartcrop(int width, int height, out int attentionX, out int attentionY, Enums.Interesting? interesting = null) + public Image Smartcrop(int width, int height, out int attentionX, out int attentionY, Enums.Interesting? interesting = null, bool? premultiplied = null) { var options = new VOption(); options.AddIfPresent(nameof(interesting), interesting); + options.AddIfPresent(nameof(premultiplied), premultiplied); options.Add("attention_x", true); options.Add("attention_y", true); @@ -9087,7 +9326,7 @@ public static Image Sum(params Image[] @in) /// /// /// - /// using Image @out = NetVips.Image.Svgload(filename, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Svgload(filename, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -9097,8 +9336,9 @@ public static Image Sum(params Image[] @in) /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Svgload(string filename, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Svgload(string filename, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9108,6 +9348,7 @@ public static Image Svgload(string filename, double? dpi = null, double? scale = options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("svgload", options, filename) as Image; } @@ -9117,7 +9358,7 @@ public static Image Svgload(string filename, double? dpi = null, double? scale = /// /// /// - /// using Image @out = NetVips.Image.Svgload(filename, out var flags, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Svgload(filename, out var flags, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -9128,8 +9369,9 @@ public static Image Svgload(string filename, double? dpi = null, double? scale = /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Svgload(string filename, out Enums.ForeignFlags flags, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Svgload(string filename, out Enums.ForeignFlags flags, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9139,6 +9381,7 @@ public static Image Svgload(string filename, out Enums.ForeignFlags flags, doubl options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -9155,7 +9398,7 @@ public static Image Svgload(string filename, out Enums.ForeignFlags flags, doubl /// /// /// - /// using Image @out = NetVips.Image.SvgloadBuffer(buffer, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.SvgloadBuffer(buffer, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -9165,8 +9408,9 @@ public static Image Svgload(string filename, out Enums.ForeignFlags flags, doubl /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image SvgloadBuffer(byte[] buffer, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image SvgloadBuffer(byte[] buffer, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9176,6 +9420,7 @@ public static Image SvgloadBuffer(byte[] buffer, double? dpi = null, double? sca options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("svgload_buffer", options, buffer) as Image; } @@ -9185,7 +9430,7 @@ public static Image SvgloadBuffer(byte[] buffer, double? dpi = null, double? sca /// /// /// - /// using Image @out = NetVips.Image.SvgloadBuffer(buffer, out var flags, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.SvgloadBuffer(buffer, out var flags, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -9196,8 +9441,9 @@ public static Image SvgloadBuffer(byte[] buffer, double? dpi = null, double? sca /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image SvgloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image SvgloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9207,6 +9453,7 @@ public static Image SvgloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, d options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -9223,7 +9470,7 @@ public static Image SvgloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, d /// /// /// - /// using Image @out = NetVips.Image.SvgloadSource(source, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.SvgloadSource(source, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -9233,8 +9480,9 @@ public static Image SvgloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, d /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image SvgloadSource(Source source, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image SvgloadSource(Source source, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9244,6 +9492,7 @@ public static Image SvgloadSource(Source source, double? dpi = null, double? sca options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("svgload_source", options, source) as Image; } @@ -9253,7 +9502,7 @@ public static Image SvgloadSource(Source source, double? dpi = null, double? sca /// /// /// - /// using Image @out = NetVips.Image.SvgloadStream(stream, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.SvgloadStream(stream, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -9263,11 +9512,12 @@ public static Image SvgloadSource(Source source, double? dpi = null, double? sca /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image SvgloadStream(Stream stream, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image SvgloadStream(Stream stream, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = SvgloadSource(source, dpi, scale, unlimited, memory, access, failOn); + var image = SvgloadSource(source, dpi, scale, unlimited, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -9279,7 +9529,7 @@ public static Image SvgloadStream(Stream stream, double? dpi = null, double? sca /// /// /// - /// using Image @out = NetVips.Image.SvgloadSource(source, out var flags, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.SvgloadSource(source, out var flags, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -9290,8 +9540,9 @@ public static Image SvgloadStream(Stream stream, double? dpi = null, double? sca /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image SvgloadSource(Source source, out Enums.ForeignFlags flags, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image SvgloadSource(Source source, out Enums.ForeignFlags flags, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9301,6 +9552,7 @@ public static Image SvgloadSource(Source source, out Enums.ForeignFlags flags, d options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -9317,7 +9569,7 @@ public static Image SvgloadSource(Source source, out Enums.ForeignFlags flags, d /// /// /// - /// using Image @out = NetVips.Image.SvgloadStream(stream, out var flags, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.SvgloadStream(stream, out var flags, dpi: double, scale: double, unlimited: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -9328,11 +9580,12 @@ public static Image SvgloadSource(Source source, out Enums.ForeignFlags flags, d /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image SvgloadStream(Stream stream, out Enums.ForeignFlags flags, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image SvgloadStream(Stream stream, out Enums.ForeignFlags flags, double? dpi = null, double? scale = null, bool? unlimited = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = SvgloadSource(source, out flags, dpi, scale, unlimited, memory, access, failOn); + var image = SvgloadSource(source, out flags, dpi, scale, unlimited, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -9709,7 +9962,7 @@ public static Image ThumbnailStream(Stream stream, int width, string optionStrin /// /// /// - /// using Image @out = NetVips.Image.Tiffload(filename, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Tiffload(filename, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -9720,8 +9973,9 @@ public static Image ThumbnailStream(Stream stream, int width, string optionStrin /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Tiffload(string filename, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Tiffload(string filename, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9732,6 +9986,7 @@ public static Image Tiffload(string filename, int? page = null, int? subifd = nu options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("tiffload", options, filename) as Image; } @@ -9741,7 +9996,7 @@ public static Image Tiffload(string filename, int? page = null, int? subifd = nu /// /// /// - /// using Image @out = NetVips.Image.Tiffload(filename, out var flags, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Tiffload(filename, out var flags, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -9753,8 +10008,9 @@ public static Image Tiffload(string filename, int? page = null, int? subifd = nu /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Tiffload(string filename, out Enums.ForeignFlags flags, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Tiffload(string filename, out Enums.ForeignFlags flags, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9765,6 +10021,7 @@ public static Image Tiffload(string filename, out Enums.ForeignFlags flags, int? options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -9781,7 +10038,7 @@ public static Image Tiffload(string filename, out Enums.ForeignFlags flags, int? /// /// /// - /// using Image @out = NetVips.Image.TiffloadBuffer(buffer, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.TiffloadBuffer(buffer, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -9792,8 +10049,9 @@ public static Image Tiffload(string filename, out Enums.ForeignFlags flags, int? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image TiffloadBuffer(byte[] buffer, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image TiffloadBuffer(byte[] buffer, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9804,6 +10062,7 @@ public static Image TiffloadBuffer(byte[] buffer, int? page = null, int? subifd options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("tiffload_buffer", options, buffer) as Image; } @@ -9813,7 +10072,7 @@ public static Image TiffloadBuffer(byte[] buffer, int? page = null, int? subifd /// /// /// - /// using Image @out = NetVips.Image.TiffloadBuffer(buffer, out var flags, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.TiffloadBuffer(buffer, out var flags, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -9825,8 +10084,9 @@ public static Image TiffloadBuffer(byte[] buffer, int? page = null, int? subifd /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image TiffloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image TiffloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9837,6 +10097,7 @@ public static Image TiffloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -9853,7 +10114,7 @@ public static Image TiffloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.TiffloadSource(source, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.TiffloadSource(source, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -9864,8 +10125,9 @@ public static Image TiffloadBuffer(byte[] buffer, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image TiffloadSource(Source source, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image TiffloadSource(Source source, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9876,6 +10138,7 @@ public static Image TiffloadSource(Source source, int? page = null, int? subifd options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("tiffload_source", options, source) as Image; } @@ -9885,7 +10148,7 @@ public static Image TiffloadSource(Source source, int? page = null, int? subifd /// /// /// - /// using Image @out = NetVips.Image.TiffloadStream(stream, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.TiffloadStream(stream, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -9896,11 +10159,12 @@ public static Image TiffloadSource(Source source, int? page = null, int? subifd /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image TiffloadStream(Stream stream, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image TiffloadStream(Stream stream, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = TiffloadSource(source, page, subifd, n, autorotate, memory, access, failOn); + var image = TiffloadSource(source, page, subifd, n, autorotate, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -9912,7 +10176,7 @@ public static Image TiffloadStream(Stream stream, int? page = null, int? subifd /// /// /// - /// using Image @out = NetVips.Image.TiffloadSource(source, out var flags, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.TiffloadSource(source, out var flags, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -9924,8 +10188,9 @@ public static Image TiffloadStream(Stream stream, int? page = null, int? subifd /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image TiffloadSource(Source source, out Enums.ForeignFlags flags, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image TiffloadSource(Source source, out Enums.ForeignFlags flags, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -9936,6 +10201,7 @@ public static Image TiffloadSource(Source source, out Enums.ForeignFlags flags, options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -9952,7 +10218,7 @@ public static Image TiffloadSource(Source source, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.TiffloadStream(stream, out var flags, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.TiffloadStream(stream, out var flags, page: int, subifd: int, n: int, autorotate: bool, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -9964,11 +10230,12 @@ public static Image TiffloadSource(Source source, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image TiffloadStream(Stream stream, out Enums.ForeignFlags flags, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image TiffloadStream(Stream stream, out Enums.ForeignFlags flags, int? page = null, int? subifd = null, int? n = null, bool? autorotate = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = TiffloadSource(source, out flags, page, subifd, n, autorotate, memory, access, failOn); + var image = TiffloadSource(source, out flags, page, subifd, n, autorotate, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -10320,21 +10587,23 @@ public Image Unpremultiply(double? maxAlpha = null, int? alphaBand = null) /// /// /// - /// using Image @out = NetVips.Image.Vipsload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Vipsload(filename, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Vipsload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Vipsload(string filename, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("vipsload", options, filename) as Image; } @@ -10344,7 +10613,7 @@ public static Image Vipsload(string filename, bool? memory = null, Enums.Access? /// /// /// - /// using Image @out = NetVips.Image.Vipsload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Vipsload(filename, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -10352,14 +10621,16 @@ public static Image Vipsload(string filename, bool? memory = null, Enums.Access? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Vipsload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Vipsload(string filename, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -10376,21 +10647,23 @@ public static Image Vipsload(string filename, out Enums.ForeignFlags flags, bool /// /// /// - /// using Image @out = NetVips.Image.VipsloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.VipsloadSource(source, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image VipsloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image VipsloadSource(Source source, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("vipsload_source", options, source) as Image; } @@ -10400,18 +10673,19 @@ public static Image VipsloadSource(Source source, bool? memory = null, Enums.Acc /// /// /// - /// using Image @out = NetVips.Image.VipsloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.VipsloadStream(stream, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image VipsloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image VipsloadStream(Stream stream, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = VipsloadSource(source, memory, access, failOn); + var image = VipsloadSource(source, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -10423,7 +10697,7 @@ public static Image VipsloadStream(Stream stream, bool? memory = null, Enums.Acc /// /// /// - /// using Image @out = NetVips.Image.VipsloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.VipsloadSource(source, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -10431,14 +10705,16 @@ public static Image VipsloadStream(Stream stream, bool? memory = null, Enums.Acc /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image VipsloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image VipsloadSource(Source source, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -10455,7 +10731,7 @@ public static Image VipsloadSource(Source source, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.VipsloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.VipsloadStream(stream, out var flags, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -10463,11 +10739,12 @@ public static Image VipsloadSource(Source source, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image VipsloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image VipsloadStream(Stream stream, out Enums.ForeignFlags flags, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = VipsloadSource(source, out flags, memory, access, failOn); + var image = VipsloadSource(source, out flags, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -10543,7 +10820,7 @@ public void VipssaveStream(Stream stream, bool? strip = null, double[] backgroun /// /// /// - /// using Image @out = NetVips.Image.Webpload(filename, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Webpload(filename, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -10553,8 +10830,9 @@ public void VipssaveStream(Stream stream, bool? strip = null, double[] backgroun /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Webpload(string filename, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Webpload(string filename, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -10564,6 +10842,7 @@ public static Image Webpload(string filename, int? page = null, int? n = null, d options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("webpload", options, filename) as Image; } @@ -10573,7 +10852,7 @@ public static Image Webpload(string filename, int? page = null, int? n = null, d /// /// /// - /// using Image @out = NetVips.Image.Webpload(filename, out var flags, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.Webpload(filename, out var flags, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Filename to load from. @@ -10584,8 +10863,9 @@ public static Image Webpload(string filename, int? page = null, int? n = null, d /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image Webpload(string filename, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image Webpload(string filename, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -10595,6 +10875,7 @@ public static Image Webpload(string filename, out Enums.ForeignFlags flags, int? options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -10611,7 +10892,7 @@ public static Image Webpload(string filename, out Enums.ForeignFlags flags, int? /// /// /// - /// using Image @out = NetVips.Image.WebploadBuffer(buffer, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.WebploadBuffer(buffer, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -10621,8 +10902,9 @@ public static Image Webpload(string filename, out Enums.ForeignFlags flags, int? /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image WebploadBuffer(byte[] buffer, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image WebploadBuffer(byte[] buffer, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -10632,6 +10914,7 @@ public static Image WebploadBuffer(byte[] buffer, int? page = null, int? n = nul options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("webpload_buffer", options, buffer) as Image; } @@ -10641,7 +10924,7 @@ public static Image WebploadBuffer(byte[] buffer, int? page = null, int? n = nul /// /// /// - /// using Image @out = NetVips.Image.WebploadBuffer(buffer, out var flags, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.WebploadBuffer(buffer, out var flags, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Buffer to load from. @@ -10652,8 +10935,9 @@ public static Image WebploadBuffer(byte[] buffer, int? page = null, int? n = nul /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image WebploadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image WebploadBuffer(byte[] buffer, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -10663,6 +10947,7 @@ public static Image WebploadBuffer(byte[] buffer, out Enums.ForeignFlags flags, options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -10679,7 +10964,7 @@ public static Image WebploadBuffer(byte[] buffer, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.WebploadSource(source, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.WebploadSource(source, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -10689,8 +10974,9 @@ public static Image WebploadBuffer(byte[] buffer, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image WebploadSource(Source source, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image WebploadSource(Source source, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -10700,6 +10986,7 @@ public static Image WebploadSource(Source source, int? page = null, int? n = nul options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); return Operation.Call("webpload_source", options, source) as Image; } @@ -10709,7 +10996,7 @@ public static Image WebploadSource(Source source, int? page = null, int? n = nul /// /// /// - /// using Image @out = NetVips.Image.WebploadStream(stream, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.WebploadStream(stream, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -10719,11 +11006,12 @@ public static Image WebploadSource(Source source, int? page = null, int? n = nul /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image WebploadStream(Stream stream, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image WebploadStream(Stream stream, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = WebploadSource(source, page, n, scale, memory, access, failOn); + var image = WebploadSource(source, page, n, scale, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); @@ -10735,7 +11023,7 @@ public static Image WebploadStream(Stream stream, int? page = null, int? n = nul /// /// /// - /// using Image @out = NetVips.Image.WebploadSource(source, out var flags, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.WebploadSource(source, out var flags, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Source to load from. @@ -10746,8 +11034,9 @@ public static Image WebploadStream(Stream stream, int? page = null, int? n = nul /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image WebploadSource(Source source, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image WebploadSource(Source source, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var options = new VOption(); @@ -10757,6 +11046,7 @@ public static Image WebploadSource(Source source, out Enums.ForeignFlags flags, options.AddIfPresent(nameof(memory), memory); options.AddIfPresent(nameof(access), access); options.AddFailOn(failOn); + options.AddIfPresent(nameof(revalidate), revalidate); options.Add("flags", true); @@ -10773,7 +11063,7 @@ public static Image WebploadSource(Source source, out Enums.ForeignFlags flags, /// /// /// - /// using Image @out = NetVips.Image.WebploadStream(stream, out var flags, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn); + /// using Image @out = NetVips.Image.WebploadStream(stream, out var flags, page: int, n: int, scale: double, memory: bool, access: Enums.Access, failOn: Enums.FailOn, revalidate: bool); /// /// /// Stream to load from. @@ -10784,11 +11074,12 @@ public static Image WebploadSource(Source source, out Enums.ForeignFlags flags, /// Force open via memory. /// Required access pattern for this file. /// Error level to fail on. + /// Don't use a cached result for this operation. /// A new . - public static Image WebploadStream(Stream stream, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null) + public static Image WebploadStream(Stream stream, out Enums.ForeignFlags flags, int? page = null, int? n = null, double? scale = null, bool? memory = null, Enums.Access? access = null, Enums.FailOn? failOn = null, bool? revalidate = null) { var source = SourceStream.NewFromStream(stream); - var image = WebploadSource(source, out flags, page, n, scale, memory, access, failOn); + var image = WebploadSource(source, out flags, page, n, scale, memory, access, failOn, revalidate); image.OnPostClose += () => source.Dispose(); diff --git a/src/NetVips/MutableImage.Generated.cs b/src/NetVips/MutableImage.Generated.cs index bbe2f571..61687a58 100644 --- a/src/NetVips/MutableImage.Generated.cs +++ b/src/NetVips/MutableImage.Generated.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// libvips version: 8.14.2 +// libvips version: 8.15.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. diff --git a/tests/NetVips.Tests/ForeignTests.cs b/tests/NetVips.Tests/ForeignTests.cs index 5f459c8d..dfb8dc34 100644 --- a/tests/NetVips.Tests/ForeignTests.cs +++ b/tests/NetVips.Tests/ForeignTests.cs @@ -1398,7 +1398,7 @@ public void TestDzSave() _colour.Dzsave(filename); buf1 = File.ReadAllBytes(filename); - buf2 = _colour.DzsaveBuffer(basename: baseName); + buf2 = _colour.DzsaveBuffer(imagename: baseName); Assert.Equal(buf1.Length, buf2.Length); // we can't test the bytes are exactly equal -- the timestamp in