diff --git a/.gitignore b/.gitignore
index dfcfd56..0ef2c96 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,6 +30,11 @@ bld/
[Oo]bj/
[Ll]og/
[Ll]ogs/
+Flowframes*.7z
+
+# NMKD Python Redist Pkg
+[Pp]y*/
+
# Visual Studio 2015/2017 cache/options directory
.vs/
diff --git a/.gitignore_old b/.gitignore_old
new file mode 100644
index 0000000..dfcfd56
--- /dev/null
+++ b/.gitignore_old
@@ -0,0 +1,350 @@
+## Ignore Visual Studio temporary files, build results, and
+## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
+
+# User-specific files
+*.rsuser
+*.suo
+*.user
+*.userosscache
+*.sln.docstates
+
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
+# Build results
+[Dd]ebug/
+[Dd]ebugPublic/
+[Rr]elease/
+[Rr]eleases/
+x64/
+x86/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
+bld/
+[Bb]in/
+[Oo]bj/
+[Ll]og/
+[Ll]ogs/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
+
+# Visual Studio 2017 auto generated files
+Generated\ Files/
+
+# MSTest test Results
+[Tt]est[Rr]esult*/
+[Bb]uild[Ll]og.*
+
+# NUnit
+*.VisualState.xml
+TestResult.xml
+nunit-*.xml
+
+# Build Results of an ATL Project
+[Dd]ebugPS/
+[Rr]eleasePS/
+dlldata.c
+
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
+*_i.c
+*_p.c
+*_h.h
+*.ilk
+*.meta
+*.obj
+*.iobj
+*.pch
+*.pdb
+*.ipdb
+*.pgc
+*.pgd
+*.rsp
+*.sbr
+*.tlb
+*.tli
+*.tlh
+*.tmp
+*.tmp_proj
+*_wpftmp.csproj
+*.log
+*.vspscc
+*.vssscc
+.builds
+*.pidb
+*.svclog
+*.scc
+
+# Chutzpah Test files
+_Chutzpah*
+
+# Visual C++ cache files
+ipch/
+*.aps
+*.ncb
+*.opendb
+*.opensdf
+*.sdf
+*.cachefile
+*.VC.db
+*.VC.VC.opendb
+
+# Visual Studio profiler
+*.psess
+*.vsp
+*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
+
+# TFS 2012 Local Workspace
+$tf/
+
+# Guidance Automation Toolkit
+*.gpState
+
+# ReSharper is a .NET coding add-in
+_ReSharper*/
+*.[Rr]e[Ss]harper
+*.DotSettings.user
+
+# TeamCity is a build add-in
+_TeamCity*
+
+# DotCover is a Code Coverage Tool
+*.dotCover
+
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
+# NCrunch
+_NCrunch_*
+.*crunch*.local.xml
+nCrunchTemp_*
+
+# MightyMoose
+*.mm.*
+AutoTest.Net/
+
+# Web workbench (sass)
+.sass-cache/
+
+# Installshield output folder
+[Ee]xpress/
+
+# DocProject is a documentation generator add-in
+DocProject/buildhelp/
+DocProject/Help/*.HxT
+DocProject/Help/*.HxC
+DocProject/Help/*.hhc
+DocProject/Help/*.hhk
+DocProject/Help/*.hhp
+DocProject/Help/Html2
+DocProject/Help/html
+
+# Click-Once directory
+publish/
+
+# Publish Web Output
+*.[Pp]ublish.xml
+*.azurePubxml
+# Note: Comment the next line if you want to checkin your web deploy settings,
+# but database connection strings (with potential passwords) will be unencrypted
+*.pubxml
+*.publishproj
+
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
+# NuGet Packages
+*.nupkg
+# NuGet Symbol Packages
+*.snupkg
+# The packages folder can be ignored because of Package Restore
+**/[Pp]ackages/*
+# except build/, which is used as an MSBuild target.
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
+csx/
+*.build.csdef
+
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
+AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
+
+# Others
+ClientBin/
+~$*
+*~
+*.dbmdl
+*.dbproj.schemaview
+*.jfm
+*.pfx
+*.publishsettings
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
+
+# RIA/Silverlight projects
+Generated_Code/
+
+# Backup & report files from converting an old project file
+# to a newer Visual Studio version. Backup files are not needed,
+# because we have git ;-)
+_UpgradeReport_Files/
+Backup*/
+UpgradeLog*.XML
+UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
+
+# SQL Server files
+*.mdf
+*.ldf
+*.ndf
+
+# Business Intelligence projects
+*.rdl.data
+*.bim.layout
+*.bim_*.settings
+*.rptproj.rsuser
+*- [Bb]ackup.rdl
+*- [Bb]ackup ([0-9]).rdl
+*- [Bb]ackup ([0-9][0-9]).rdl
+
+# Microsoft Fakes
+FakesAssemblies/
+
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
+
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
+
+# Local History for Visual Studio
+.localhistory/
+
+# BeatPulse healthcheck temp database
+healthchecksdb
+
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
+
+# Ionide (cross platform F# VS Code tools) working folder
+.ionide/
diff --git a/.vs/MagickUtils/v16/.suo b/.vs/MagickUtils/v16/.suo
index bae93a6..0bce07e 100644
Binary files a/.vs/MagickUtils/v16/.suo and b/.vs/MagickUtils/v16/.suo differ
diff --git a/Forms/ImagePreviewPopup.Designer.cs b/Forms/ImagePreviewPopup.Designer.cs
index 92a90bb..c35c704 100644
--- a/Forms/ImagePreviewPopup.Designer.cs
+++ b/Forms/ImagePreviewPopup.Designer.cs
@@ -28,24 +28,22 @@ protected override void Dispose (bool disposing)
///
private void InitializeComponent ()
{
- this.previewPicbox = new System.Windows.Forms.PictureBox();
- ((System.ComponentModel.ISupportInitialize)(this.previewPicbox)).BeginInit();
+ this.imgBox = new Cyotek.Windows.Forms.ImageBox();
this.SuspendLayout();
//
- // previewPicbox
+ // imgBox
//
- this.previewPicbox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.previewPicbox.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.previewPicbox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.previewPicbox.Location = new System.Drawing.Point(0, 0);
- this.previewPicbox.Name = "previewPicbox";
- this.previewPicbox.Size = new System.Drawing.Size(884, 861);
- this.previewPicbox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
- this.previewPicbox.TabIndex = 0;
- this.previewPicbox.TabStop = false;
- this.previewPicbox.Click += new System.EventHandler(this.previewPicbox_Click);
+ this.imgBox.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.imgBox.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.imgBox.GridColorAlternate = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
+ this.imgBox.GridScale = Cyotek.Windows.Forms.ImageBoxGridScale.Medium;
+ this.imgBox.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.HighQualityBicubic;
+ this.imgBox.Location = new System.Drawing.Point(0, 0);
+ this.imgBox.Margin = new System.Windows.Forms.Padding(0);
+ this.imgBox.Name = "imgBox";
+ this.imgBox.Size = new System.Drawing.Size(884, 861);
+ this.imgBox.TabIndex = 1;
+ this.imgBox.Text = " ";
//
// ImagePreviewPopup
//
@@ -53,18 +51,18 @@ private void InitializeComponent ()
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(884, 861);
- this.Controls.Add(this.previewPicbox);
+ this.Controls.Add(this.imgBox);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
this.Name = "ImagePreviewPopup";
this.Text = "Image Preview";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ImagePreviewPopup_FormClosing);
this.Load += new System.EventHandler(this.ImagePreviewPopup_Load);
- ((System.ComponentModel.ISupportInitialize)(this.previewPicbox)).EndInit();
this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.PictureBox previewPicbox;
+ private Cyotek.Windows.Forms.ImageBox imgBox;
}
}
\ No newline at end of file
diff --git a/Forms/ImagePreviewPopup.cs b/Forms/ImagePreviewPopup.cs
index d41f65b..3c90d9a 100644
--- a/Forms/ImagePreviewPopup.cs
+++ b/Forms/ImagePreviewPopup.cs
@@ -3,6 +3,7 @@
using System.ComponentModel;
using System.Data;
using System.Drawing;
+using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -21,9 +22,12 @@ private void ImagePreviewPopup_Load (object sender, EventArgs e)
{
CenterToScreen();
WindowState = FormWindowState.Maximized;
- previewPicbox.ImageLocation = Program.previewImgPath;
+ //previewPicbox.ImageLocation = Program.previewImgPath;
+ if (File.Exists(Program.previewImgPath))
+ imgBox.Image = IOUtils.GetImage(Program.previewImgPath);
}
+ /*
private void previewPicbox_Click (object sender, EventArgs e)
{
if(previewPicbox.SizeMode == PictureBoxSizeMode.CenterImage)
@@ -38,5 +42,11 @@ private void previewPicbox_Click (object sender, EventArgs e)
return;
}
}
+ */
+
+ private void ImagePreviewPopup_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ imgBox.Image = null;
+ }
}
}
diff --git a/FormsHelpers/ConvertTabHelper.cs b/FormsHelpers/ConvertTabHelper.cs
index 157d9a2..38170b3 100644
--- a/FormsHelpers/ConvertTabHelper.cs
+++ b/FormsHelpers/ConvertTabHelper.cs
@@ -60,6 +60,9 @@ public static void ConvertFileList (string[] files, ComboBox qualityCombox, Comb
if (selectedFormat == IF.HEIF)
HeifInterface.EncodeImage(file, qMin, delSrcCbox.Checked);
+
+ if (selectedFormat == IF.JXL)
+ ConvertUtils.ConvertToJxl(file, qMin, qMax, delSrcCbox.Checked);
}
}
}
@@ -78,9 +81,7 @@ public static void ConvertUsingPath (ComboBox qualityCombox, ComboBox qualityMax
ConvertUtils.ConvertDirToPng(qMin, delSrcCbox.Checked);
if(selectedFormat == IF.DDS)
- {
ConvertUtils.ConvertDirToDds(qMin, qMax, delSrcCbox.Checked);
- }
if(selectedFormat == IF.TGA)
ConvertUtils.ConvertDirToTga(delSrcCbox.Checked);
@@ -102,6 +103,9 @@ public static void ConvertUsingPath (ComboBox qualityCombox, ComboBox qualityMax
if (selectedFormat == IF.HEIF)
ConvertUtils.ConvertDirToHeif(qMin, delSrcCbox.Checked);
+
+ if (selectedFormat == IF.JXL)
+ ConvertUtils.ConvertDirToJxl(qMin, qMax, delSrcCbox.Checked);
}
}
}
diff --git a/FormsHelpers/EffectsTabHelper.cs b/FormsHelpers/EffectsTabHelper.cs
index a8a8be2..0804025 100644
--- a/FormsHelpers/EffectsTabHelper.cs
+++ b/FormsHelpers/EffectsTabHelper.cs
@@ -33,7 +33,7 @@ public static void NoisePreview ()
File.Copy(firstImg.FullName, tempImgPath);
Random rand = new Random();
EffectsUtils.AddNoise(tempImgPath, GetNoiseTypeList(), attenMin, attenMax, monochrome);
- Program.mainForm.PreviewImage(tempImgPath);
+ Program.PreviewImage(tempImgPath);
}
public static void NoiseApply ()
@@ -60,7 +60,7 @@ public static void BlurPreview ()
if(File.Exists(tempImgPath)) File.Delete(tempImgPath);
File.Copy(firstImg.FullName, tempImgPath);
EffectsUtils.Blur(tempImgPath, blurRadiusMin, blurRadiusMax);
- Program.mainForm.PreviewImage(tempImgPath);
+ Program.PreviewImage(tempImgPath);
}
public static void BlurApply ()
@@ -77,7 +77,7 @@ public static void MedianPreview()
if (File.Exists(tempImgPath)) File.Delete(tempImgPath);
File.Copy(firstImg.FullName, tempImgPath);
EffectsUtils.Median(tempImgPath, medianRadiusMin, medianRadiusMax);
- Program.mainForm.PreviewImage(tempImgPath);
+ Program.PreviewImage(tempImgPath);
}
public static void MedianApply()
diff --git a/MagickUtils.csproj b/MagickUtils.csproj
index 81b3de9..d6b1db5 100644
--- a/MagickUtils.csproj
+++ b/MagickUtils.csproj
@@ -85,17 +85,20 @@
packages\Costura.Fody.4.1.0\lib\net40\Costura.dll
+
+ packages\CyotekImageBox.1.2.1\lib\net20\Cyotek.Windows.Forms.ImageBox.dll
+
packages\DdsFileTypePlusHack.1.0.4\lib\net45\DdsFileTypePlus.dll
-
- packages\DotNetZip.1.14.0\lib\net40\DotNetZip.dll
+
+ packages\DotNetZip.1.15.0\lib\net40\DotNetZip.dll
-
- packages\Magick.NET-Q16-AnyCPU.7.22.1\lib\net40\Magick.NET-Q16-AnyCPU.dll
+
+ packages\Magick.NET-Q16-AnyCPU.7.22.3\lib\net40\Magick.NET-Q16-AnyCPU.dll
-
- packages\Magick.NET.Core.5.1.0\lib\net40\Magick.NET.Core.dll
+
+ packages\Magick.NET.Core.5.3.0\lib\net40\Magick.NET.Core.dll
packages\MozJpegSharp.1.0.27\lib\net45\MozJpegSharp.dll
diff --git a/MagickUtils/ConvertUtils.cs b/MagickUtils/ConvertUtils.cs
index 655e986..86d9675 100644
--- a/MagickUtils/ConvertUtils.cs
+++ b/MagickUtils/ConvertUtils.cs
@@ -340,6 +340,36 @@ public static void ConvertToJpeg2000 (string path, int q, bool delSource = false
PostProcessing(img, path, outPath, delSource);
}
+ public static async void ConvertDirToJxl(int qMin, int qMax, bool delSrc)
+ {
+ int counter = 1;
+ FileInfo[] files = IOUtils.GetFiles();
+
+ Program.PreProcessing();
+ foreach (FileInfo file in files)
+ {
+ Program.ShowProgress("Converting Image ", counter, files.Length);
+ ConvertToJxl(file.FullName, qMin, qMax, delSrc);
+ counter++;
+ if (counter % 2 == 0) await Program.PutTaskDelay();
+ }
+ Program.PostProcessing();
+ }
+
+ public static void ConvertToJxl(string path, int qMin, int qMax, bool delSource = false)
+ {
+ Random rand = new Random();
+ int q = rand.Next(qMin, qMax + 1);
+ string outPath = Path.ChangeExtension(path, null) + ".jxl";
+ PreProcessing(path, " [JPEG XL Quality: " + q + "]");
+ MagickImage img = IOUtils.ReadImage(path);
+ if (img == null) return;
+ img.Format = MagickFormat.Jxl;
+ img.Quality = q;
+ img.Write(outPath);
+ PostProcessing(img, path, outPath, delSource);
+ }
+
static void PreProcessing (string path, string infoSuffix = null)
{
bytesPre = 0;
diff --git a/MainForm.Designer.cs b/MainForm.Designer.cs
index 20fc345..fed8689 100644
--- a/MainForm.Designer.cs
+++ b/MainForm.Designer.cs
@@ -111,6 +111,9 @@ private void InitializeComponent ()
this.label82 = new System.Windows.Forms.Label();
this.padMode = new System.Windows.Forms.ComboBox();
this.tabPage15 = new System.Windows.Forms.TabPage();
+ this.label114 = new System.Windows.Forms.Label();
+ this.label113 = new System.Windows.Forms.Label();
+ this.mergeRowLength = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.tileDelSrc = new System.Windows.Forms.CheckBox();
this.label67 = new System.Windows.Forms.Label();
@@ -313,9 +316,6 @@ private void InitializeComponent ()
this.defTip = new System.Windows.Forms.ToolTip(this.components);
this.bgColorDialog = new System.Windows.Forms.ColorDialog();
this.layerColorDialog = new System.Windows.Forms.ColorDialog();
- this.mergeRowLength = new System.Windows.Forms.TextBox();
- this.label113 = new System.Windows.Forms.Label();
- this.label114 = new System.Windows.Forms.Label();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.tabPage2.SuspendLayout();
@@ -594,7 +594,8 @@ private void InitializeComponent ()
"JPEG 2000",
"AVIF",
"FLIF",
- "HEIF"});
+ "HEIF",
+ "JPEG XL"});
this.formatCombox.Location = new System.Drawing.Point(150, 6);
this.formatCombox.Name = "formatCombox";
this.formatCombox.Size = new System.Drawing.Size(150, 21);
@@ -1318,6 +1319,33 @@ private void InitializeComponent ()
this.tabPage15.Text = "Create Tiles";
this.tabPage15.UseVisualStyleBackColor = true;
//
+ // label114
+ //
+ this.label114.AutoSize = true;
+ this.label114.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.label114.Location = new System.Drawing.Point(458, 133);
+ this.label114.Name = "label114";
+ this.label114.Size = new System.Drawing.Size(134, 13);
+ this.label114.TabIndex = 59;
+ this.label114.Text = "Use 0 for automatic length.";
+ //
+ // label113
+ //
+ this.label113.AutoSize = true;
+ this.label113.Location = new System.Drawing.Point(306, 133);
+ this.label113.Name = "label113";
+ this.label113.Size = new System.Drawing.Size(68, 13);
+ this.label113.TabIndex = 58;
+ this.label113.Text = "Row Length:";
+ //
+ // mergeRowLength
+ //
+ this.mergeRowLength.Location = new System.Drawing.Point(380, 130);
+ this.mergeRowLength.Name = "mergeRowLength";
+ this.mergeRowLength.Size = new System.Drawing.Size(72, 20);
+ this.mergeRowLength.TabIndex = 57;
+ this.mergeRowLength.Text = "0";
+ //
// label5
//
this.label5.AutoSize = true;
@@ -3555,33 +3583,6 @@ private void InitializeComponent ()
this.nameMustNotContainTbox.TabIndex = 12;
this.nameMustNotContainTbox.TextChanged += new System.EventHandler(this.nameMustNotContainTbox_TextChanged);
//
- // mergeRowLength
- //
- this.mergeRowLength.Location = new System.Drawing.Point(380, 130);
- this.mergeRowLength.Name = "mergeRowLength";
- this.mergeRowLength.Size = new System.Drawing.Size(72, 20);
- this.mergeRowLength.TabIndex = 57;
- this.mergeRowLength.Text = "0";
- //
- // label113
- //
- this.label113.AutoSize = true;
- this.label113.Location = new System.Drawing.Point(306, 133);
- this.label113.Name = "label113";
- this.label113.Size = new System.Drawing.Size(68, 13);
- this.label113.TabIndex = 58;
- this.label113.Text = "Row Length:";
- //
- // label114
- //
- this.label114.AutoSize = true;
- this.label114.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
- this.label114.Location = new System.Drawing.Point(458, 133);
- this.label114.Name = "label114";
- this.label114.Size = new System.Drawing.Size(134, 13);
- this.label114.TabIndex = 59;
- this.label114.Text = "Use 0 for automatic length.";
- //
// MainForm
//
this.AllowDrop = true;
diff --git a/MainForm.cs b/MainForm.cs
index 71a22c9..afce2ed 100644
--- a/MainForm.cs
+++ b/MainForm.cs
@@ -94,7 +94,7 @@ private void pathTextbox_TextChanged (object sender, EventArgs e)
private void formatCombox_SelectedIndexChanged (object sender, EventArgs e)
{
- string formatStrTrim = formatCombox.Text.Trim();
+ string formatStrTrim = formatCombox.Text.Trim().ToUpper();
qualityCombox.Enabled = true;
qualityMaxCombox.Enabled = false;
formatOptionsBtn.Visible = false;
@@ -167,6 +167,14 @@ private void formatCombox_SelectedIndexChanged (object sender, EventArgs e)
formatQualityLabel.Text = "HEIF Quality: 0 - 99. Default: 50. Use 100 for lossless mode.";
}
+ if (formatStrTrim == "JPEG XL")
+ {
+ selectedFormat = Program.ImageFormat.JXL;
+ //qualityMaxCombox.Enabled = true;
+ qualityCombox.Enabled = false;
+ formatQualityLabel.Text = "Currently only lossless mode is supported.";
+ }
+
CheckDelSourceFormat();
}
@@ -324,23 +332,11 @@ private void MainForm_DragDrop (object sender, DragEventArgs e)
else
{
Program.Print("Previewing " + file + "...");
- PreviewImage(file);
+ Program.PreviewImage(file);
}
}
}
- public void PreviewImage (string imgPath)
- {
- MagickImage tempImg = IOUtils.ReadImage(imgPath);
- if (tempImg == null) return;
- tempImg.Format = MagickFormat.Png;
- string tempImgPath = Path.Combine(IOUtils.GetAppDataDir(), "previewImg.png");
- tempImg.Write(tempImgPath);
- Program.previewImgPath = tempImgPath;
- var imgForm = new ImagePreviewPopup();
- imgForm.Show();
- }
-
private void addNoiseBtn_Click (object sender, EventArgs e)
{
if(Program.IsPathValid(Program.currentDir))
diff --git a/Program.cs b/Program.cs
index 7fa7f2f..0affc0e 100644
--- a/Program.cs
+++ b/Program.cs
@@ -21,7 +21,7 @@ class Program
public static string previewImgPath;
- public enum ImageFormat { JPG, PNG, DDS, TGA, WEBP, BMP, AVIF, J2K, FLIF, HEIF }
+ public enum ImageFormat { JPG, PNG, DDS, TGA, WEBP, BMP, AVIF, J2K, FLIF, HEIF, JXL }
[STAThread]
static void Main (string[] args)
@@ -31,7 +31,34 @@ static void Main (string[] args)
mainForm = new MainForm();
mainForm.FormClosing += new FormClosingEventHandler(OnFormClose);
ResourceLimits.Memory = (ulong)Math.Round(ResourceLimits.Memory * 1.5f);
- Application.Run(mainForm);
+
+ if(args.Length > 0 && args[0] != null && File.Exists(args[0]))
+ {
+ PreviewImage(args[0], true);
+ }
+ else
+ {
+ Application.Run(mainForm);
+ }
+ }
+
+ public static void PreviewImage(string imgPath, bool run = false)
+ {
+ MagickImage tempImg = IOUtils.ReadImage(imgPath);
+ if (tempImg == null) return;
+ tempImg.Format = MagickFormat.Png;
+ string tempImgPath = Path.Combine(IOUtils.GetAppDataDir(), "previewImg.png");
+ tempImg.Write(tempImgPath);
+ tempImg.Dispose();
+ previewImgPath = tempImgPath;
+ if (run)
+ {
+ Application.Run(new ImagePreviewPopup());
+ }
+ else
+ {
+ new ImagePreviewPopup().Show();
+ }
}
private static void OnFormClose (Object sender, FormClosingEventArgs e)
diff --git a/Utils/ExtensionMethods.cs b/Utils/ExtensionMethods.cs
index 8171eb6..719f81a 100644
--- a/Utils/ExtensionMethods.cs
+++ b/Utils/ExtensionMethods.cs
@@ -155,5 +155,16 @@ public static int RoundToInt(this float f)
{
return (int)Math.Round(f);
}
+
+ public static string RemoveFirstLines(this string str, int linesCount)
+ {
+ var lines = Regex.Split(str, "\r\n|\r|\n").Skip(linesCount);
+ return string.Join(Environment.NewLine, lines.ToArray());
+ }
+
+ public static int CountLines (this string str)
+ {
+ return Regex.Split(str, "\r\n|\r|\n").Length;
+ }
}
}
diff --git a/bin/Debug/Magick.NET-Q16-AnyCPU.xml b/bin/Debug/Magick.NET-Q16-AnyCPU.xml
index b8609d1..a60552d 100644
--- a/bin/Debug/Magick.NET-Q16-AnyCPU.xml
+++ b/bin/Debug/Magick.NET-Q16-AnyCPU.xml
@@ -21,13936 +21,13971 @@
application pools with different idententies need to execute the same library.
-
-
- Class that represents a color.
-
-
-
+
- Initializes a new instance of the class.
+ Base class for colors.
-
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
The color to use.
-
+
- Initializes a new instance of the class.
+ Gets the actual color of this instance.
- Red component value of this color (0-65535).
- Green component value of this color (0-65535).
- Blue component value of this color (0-65535).
-
+
- Initializes a new instance of the class.
+ Determines whether the specified instances are considered equal.
- Red component value of this color (0-65535).
- Green component value of this color (0-65535).
- Blue component value of this color (0-65535).
- Alpha component value of this color (0-65535).
+ The first to compare.
+ The second to compare.
-
+
- Initializes a new instance of the class.
+ Determines whether the specified instances are not considered equal.
- Cyan component value of this color (0-65535).
- Magenta component value of this color (0-65535).
- Yellow component value of this color (0-65535).
- Black component value of this color (0-65535).
- Alpha component value of this color (0-65535).
+ The first to compare.
+ The second to compare.
-
+
- Initializes a new instance of the class.
+ Determines whether the first is more than the second .
- The RGBA/CMYK hex string or name of the color (http://www.imagemagick.org/script/color.php).
- For example: #F000, #FF000000, #FFFF000000000000.
+ The first to compare.
+ The second to compare.
-
+
- Gets or sets the alpha component value of this color.
+ Determines whether the first is less than the second .
+ The first to compare.
+ The second to compare.
-
+
- Gets or sets the blue component value of this color.
+ Determines whether the first is more than or equal to the second .
+ The first to compare.
+ The second to compare.
-
+
- Gets or sets the green component value of this color.
+ Determines whether the first is less than or equal to the second .
+ The first to compare.
+ The second to compare.
-
+
- Gets a value indicating whether the color is a CMYK color.
+ Compares the current instance with another object of the same type.
+ The object to compare this color with.
+ A signed number indicating the relative values of this instance and value.
-
+
- Gets or sets the key (black) component value of this color.
+ Determines whether the specified object is equal to the current instance.
+ The object to compare this color with.
+ True when the specified object is equal to the current instance.
-
+
- Gets or sets the red component value of this color.
+ Determines whether the specified color is equal to the current color.
+ The color to compare this color with.
+ True when the specified color is equal to the current instance.
-
+
- Determines whether the specified instances are considered equal.
+ Determines whether the specified color is fuzzy equal to the current color.
- The first to compare.
- The second to compare.
+ The color to compare this color with.
+ The fuzz factor.
+ True when the specified color is fuzzy equal to the current instance.
-
+
- Determines whether the specified instances are not considered equal.
+ Serves as a hash of this type.
- The first to compare.
- The second to compare.
+ A hash code for the current instance.
-
+
- Determines whether the first is more than the second .
+ Converts the value of this instance to an equivalent .
- The first to compare.
- The second to compare.
+ A instance.
-
+
- Determines whether the first is less than the second .
+ Converts the value of this instance to a hexadecimal string.
- The first to compare.
- The second to compare.
+ The .
-
+
- Determines whether the first is more than or equal to the second .
+ Updates the color value from an inherited class.
- The first to compare.
- The second to compare.
-
+
- Determines whether the first is less than or equal to the second .
+ Class that represents a CMYK color.
- The first to compare.
- The second to compare.
-
+
- Creates a new instance from the specified 8-bit color values (red, green,
- and blue). The alpha value is implicitly 255 (fully opaque).
+ Initializes a new instance of the class.
- Red component value of this color.
- Green component value of this color.
- Blue component value of this color.
- A instance.
+ Cyan component value of this color.
+ Magenta component value of this color.
+ Yellow component value of this color.
+ Key (black) component value of this color.
-
+
- Creates a new instance from the specified 8-bit color values (red, green,
- blue and alpha).
+ Initializes a new instance of the class.
- Red component value of this color.
- Green component value of this color.
- Blue component value of this color.
+ Cyan component value of this color.
+ Magenta component value of this color.
+ Yellow component value of this color.
+ Key (black) component value of this color.
Alpha component value of this color.
- A instance.
-
+
- Compares the current instance with another object of the same type.
+ Initializes a new instance of the class.
- The color to compare this color with.
- A signed number indicating the relative values of this instance and value.
+ Cyan component value of this color.
+ Magenta component value of this color.
+ Yellow component value of this color.
+ Key (black) component value of this color.
-
+
- Determines whether the specified object is equal to the current color.
+ Initializes a new instance of the class.
- The object to compare this color with.
- True when the specified object is equal to the current color.
+ Cyan component value of this color.
+ Magenta component value of this color.
+ Yellow component value of this color.
+ Key (black) component value of this color.
+ Alpha component value of this color.
-
+
- Determines whether the specified color is equal to the current color.
+ Initializes a new instance of the class.
- The color to compare this color with.
- True when the specified color is equal to the current color.
+ The CMYK hex string or name of the color (http://www.imagemagick.org/script/color.php).
+ For example: #F000, #FF000000, #FFFF000000000000.
-
+
- Determines whether the specified color is fuzzy equal to the current color.
+ Gets or sets the alpha component value of this color.
- The color to compare this color with.
- The fuzz factor.
- True when the specified color is fuzzy equal to the current instance.
-
+
- Serves as a hash of this type.
+ Gets or sets the cyan component value of this color.
- A hash code for the current instance.
-
+
- Initializes the color with the specified bytes.
+ Gets or sets the key (black) component value of this color.
- Red component value of this color.
- Green component value of this color.
- Blue component value of this color.
- Alpha component value of this color.
-
+
- Converts the value of this instance to a array (RGBA or CMYKA).
+ Gets or sets the magenta component value of this color.
- The array.
-
+
- Converts the value of this instance to a short hexadecimal string.
+ Gets or sets the yellow component value of this color.
- The .
-
+
- Converts the value of this instance to a hexadecimal string.
+ Converts the specified to an instance of this type.
- The .
+ The color to use.
+ A instance.
-
+
- Interface for a native instance.
+ Converts the specified to an instance of this type.
+ The color to use.
+ A instance.
-
+
- Gets a pointer to the native instance.
+ Class that represents a gray color.
-
+
- Class that can be used to initialize Magick.NET.
+ Initializes a new instance of the class.
+ Value between 0.0 - 1.0.
-
+
- Event that will be raised when something is logged by ImageMagick.
+ Gets or sets the shade of this color (value between 0.0 - 1.0).
-
+
- Gets the ImageMagick delegate libraries.
+ Converts the specified to an instance of this type.
+ The color to use.
+ A instance.
-
+
- Gets the ImageMagick features.
+ Converts the specified to an instance of this type.
+ The color to use.
+ A instance.
-
+
- Gets the information about the supported formats.
+ Updates the color value in an inherited class.
-
+
- Gets the font families that are known by ImageMagick.
+ Class that represents a HSL color.
-
+
- Gets the font names that are known by ImageMagick.
+ Initializes a new instance of the class.
+ Hue component value of this color.
+ Saturation component value of this color.
+ Lightness component value of this color.
-
+
- Gets the version of Magick.NET.
+ Gets or sets the hue component value of this color.
-
+
- Returns the format information of the specified format based on the extension of the file.
+ Gets or sets the lightness component value of this color.
- The file to get the format for.
- The format information.
-
+
- Returns the format information of the specified format.
+ Gets or sets the saturation component value of this color.
- The image format.
- The format information.
-
+
- Returns the format information of the specified format based on the extension of the
- file. If that fails the format will be determined by 'pinging' the file.
+ Converts the specified to an instance of this type.
- The name of the file to get the format for.
- The format information.
+ The color to use.
+ A instance.
-
+
- Initializes ImageMagick.
+ Converts the specified to an instance of this type.
+ The color to use.
+ A instance.
-
+
- Initializes ImageMagick with the xml files that are located in the specified path.
+ Updates the color value in an inherited class.
- The path that contains the ImageMagick xml files.
-
+
- Initializes ImageMagick with the specified configuration files and returns the path to the
- temporary directory where the xml files were saved.
+ Class that represents a HSV color.
- The configuration files ot initialize ImageMagick with.
- The path of the folder that was created and contains the configuration files.
-
+
- Initializes ImageMagick with the specified configuration files in the specified the path.
+ Initializes a new instance of the class.
- The configuration files ot initialize ImageMagick with.
- The directory to save the configuration files in.
+ Hue component value of this color.
+ Saturation component value of this color.
+ Value component value of this color.
-
+
- Resets the pseudo-random number generator secret key.
+ Gets or sets the hue component value of this color.
-
+
- Sets the directory that contains the Ghostscript file gsdll32.dll / gsdll64.dll.
+ Gets or sets the saturation component value of this color.
- The path of the Ghostscript directory.
-
+
- Sets the directory that contains the Ghostscript font files.
+ Gets or sets the value component value of this color.
- The path of the Ghostscript font directory.
-
+
- Set the events that will be written to the log. The log will be written to the Log event
- and the debug window in VisualStudio. To change the log settings you must use a custom
- log.xml file.
+ Converts the specified to an instance of this type.
- The events that will be logged.
+ The color to use.
+ A instance.
-
+
- Sets the directory that contains the Native library. This currently only works on Windows.
+ Converts the specified to an instance of this type.
- The path of the directory that contains the native library.
+ The color to use.
+ A instance.
-
+
- Sets the directory that will be used when ImageMagick does not have enough memory for the
- pixel cache.
+ Performs a hue shift with the specified degrees.
- The path where temp files will be written.
+ The degrees.
-
+
- Sets the pseudo-random number generator secret key.
+ Updates the color value in an inherited class.
- The secret key.
-
+
- Class that contains information about an image format.
+ Class that represents a monochrome color.
-
+
- Gets a value indicating whether the format can be read multithreaded.
+ Initializes a new instance of the class.
+ Specifies if the color is black or white.
-
+
- Gets a value indicating whether the format can be written multithreaded.
+ Gets or sets a value indicating whether the color is black or white.
-
+
- Gets the description of the format.
+ Converts the specified to an instance of this type.
+ The color to use.
+ A instance.
-
+
- Gets the format.
+ Converts the specified to an instance of this type.
+ The color to use.
+ A instance.
-
+
- Gets a value indicating whether the format supports multiple frames.
+ Updates the color value in an inherited class.
-
+
- Gets a value indicating whether the format is readable.
+ Class that represents a RGB color.
-
+
- Gets a value indicating whether the format is writable.
+ Initializes a new instance of the class.
+ The color to use.
-
+
- Gets the mime type.
+ Initializes a new instance of the class.
+ Red component value of this color.
+ Green component value of this color.
+ Blue component value of this color.
-
+
- Gets the module.
+ Gets or sets the blue component value of this color.
-
+
- Returns the format information. The extension of the supplied file is used to determine
- the format.
+ Gets or sets the green component value of this color.
- The file to check.
- The format information.
-
+
- Returns the format information of the specified format.
+ Gets or sets the red component value of this color.
- The image format.
- The format information.
-
+
- Returns the format information. The extension of the supplied file name is used to
- determine the format.
+ Converts the specified to an instance of this type.
- The name of the file to check.
- The format information.
+ The color to use.
+ A instance.
-
+
- Determines whether the specified object is equal to the current .
+ Converts the specified to an instance of this type.
- The object to compare this with.
- True when the specified object is equal to the current .
+ The color to use.
+ A instance.
-
+
- Determines whether the specified is equal to the current .
+ Returns the complementary color for this color.
- The to compare this with.
- True when the specified is equal to the current .
+ A instance.
-
+
- Serves as a hash of this type.
+ Class that represents a YUV color.
- A hash code for the current instance.
-
+
- Returns a string that represents the current format.
+ Initializes a new instance of the class.
- A string that represents the current format.
+ Y component value of this color.
+ U component value of this color.
+ V component value of this color.
-
+
- Unregisters this format.
+ Gets or sets the U component value of this color. (value beteeen -0.5 and 0.5).
- True when the format was found and unregistered.
-
+
- Class that represents an ImageMagick image.
+ Gets or sets the V component value of this color. (value beteeen -0.5 and 0.5).
-
+
- Initializes a new instance of the class.
+ Gets or sets the Y component value of this color. (value beteeen 0.0 and 1.0).
-
+
- Initializes a new instance of the class.
+ Converts the specified to an instance of this type.
- The byte array to read the image data from.
- Thrown when an error is raised by ImageMagick.
+ The color to use.
+ A instance.
-
+
- Initializes a new instance of the class.
+ Converts the specified to an instance of this type.
- The byte array to read the image data from.
- The offset at which to begin reading data.
- The maximum number of bytes to read.
- Thrown when an error is raised by ImageMagick.
+ The color to use.
+ A instance.
-
+
- Initializes a new instance of the class.
+ Updates the color value in an inherited class.
- The byte array to read the image data from.
- The offset at which to begin reading data.
- The maximum number of bytes to read.
- The format to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Initializes a new instance of the class.
+ Class that represents a color.
- The byte array to read the image data from.
- The offset at which to begin reading data.
- The maximum number of bytes to read.
- The settings to use when reading the image.
- Thrown when an error is raised by ImageMagick.
-
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- The byte array to read the image data from.
- The offset at which to begin reading data.
- The maximum number of bytes to read.
- The pixel settings to use when reading the image.
- Thrown when an error is raised by ImageMagick.
-
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- The byte array to read the image data from.
- The format to use.
- Thrown when an error is raised by ImageMagick.
+ The color to use.
-
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- The byte array to read the image data from.
- The settings to use when reading the image.
- Thrown when an error is raised by ImageMagick.
+ Red component value of this color (0-65535).
+ Green component value of this color (0-65535).
+ Blue component value of this color (0-65535).
-
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- The byte array to read the image data from.
- The pixel settings to use when reading the image.
- Thrown when an error is raised by ImageMagick.
+ Red component value of this color (0-65535).
+ Green component value of this color (0-65535).
+ Blue component value of this color (0-65535).
+ Alpha component value of this color (0-65535).
-
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- The file to read the image from.
- Thrown when an error is raised by ImageMagick.
+ Cyan component value of this color (0-65535).
+ Magenta component value of this color (0-65535).
+ Yellow component value of this color (0-65535).
+ Black component value of this color (0-65535).
+ Alpha component value of this color (0-65535).
-
+
- Initializes a new instance of the class.
+ Initializes a new instance of the class.
- The file to read the image from.
- The format to use.
- Thrown when an error is raised by ImageMagick.
+ The RGBA/CMYK hex string or name of the color (http://www.imagemagick.org/script/color.php).
+ For example: #F000, #FF000000, #FFFF000000000000.
-
+
- Initializes a new instance of the class.
+ Gets or sets the alpha component value of this color.
- The file to read the image from.
- The settings to use when reading the image.
- Thrown when an error is raised by ImageMagick.
-
+
- Initializes a new instance of the class.
+ Gets or sets the blue component value of this color.
- The file to read the image from.
- The pixel settings to use when reading the image.
- Thrown when an error is raised by ImageMagick.
-
+
- Initializes a new instance of the class.
+ Gets or sets the green component value of this color.
- The color to fill the image with.
- The width.
- The height.
-
+
- Initializes a new instance of the class.
+ Gets a value indicating whether the color is a CMYK color.
- The image to create a copy of.
-
+
- Initializes a new instance of the class.
+ Gets or sets the key (black) component value of this color.
- The stream to read the image data from.
- Thrown when an error is raised by ImageMagick.
-
+
- Initializes a new instance of the class.
+ Gets or sets the red component value of this color.
- The stream to read the image data from.
- The format to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Initializes a new instance of the class.
+ Determines whether the specified instances are considered equal.
- The stream to read the image data from.
- The settings to use when reading the image.
- Thrown when an error is raised by ImageMagick.
+ The first to compare.
+ The second to compare.
-
+
- Initializes a new instance of the class.
+ Determines whether the specified instances are not considered equal.
- The stream to read the image data from.
- The pixel settings to use when reading the image.
- Thrown when an error is raised by ImageMagick.
+ The first to compare.
+ The second to compare.
-
+
- Initializes a new instance of the class.
+ Determines whether the first is more than the second .
- The fully qualified name of the image file, or the relative image file name.
- Thrown when an error is raised by ImageMagick.
+ The first to compare.
+ The second to compare.
-
+
- Initializes a new instance of the class.
+ Determines whether the first is less than the second .
- The fully qualified name of the image file, or the relative image file name.
- The width.
- The height.
- Thrown when an error is raised by ImageMagick.
+ The first to compare.
+ The second to compare.
-
+
- Initializes a new instance of the class.
+ Determines whether the first is more than or equal to the second .
- The fully qualified name of the image file, or the relative image file name.
- The settings to use when reading the image.
- Thrown when an error is raised by ImageMagick.
+ The first to compare.
+ The second to compare.
-
+
- Initializes a new instance of the class.
+ Determines whether the first is less than or equal to the second .
- The fully qualified name of the image file, or the relative image file name.
- The format to use.
- Thrown when an error is raised by ImageMagick.
+ The first to compare.
+ The second to compare.
-
+
- Initializes a new instance of the class.
+ Creates a new instance from the specified 8-bit color values (red, green,
+ and blue). The alpha value is implicitly 255 (fully opaque).
- The fully qualified name of the image file, or the relative image file name.
- The pixel settings to use when reading the image.
- Thrown when an error is raised by ImageMagick.
+ Red component value of this color.
+ Green component value of this color.
+ Blue component value of this color.
+ A instance.
-
+
- Finalizes an instance of the class.
+ Creates a new instance from the specified 8-bit color values (red, green,
+ blue and alpha).
+ Red component value of this color.
+ Green component value of this color.
+ Blue component value of this color.
+ Alpha component value of this color.
+ A instance.
-
+
- Event that will be raised when progress is reported by this image.
+ Compares the current instance with another object of the same type.
+ The color to compare this color with.
+ A signed number indicating the relative values of this instance and value.
-
+
- Event that will we raised when a warning is thrown by ImageMagick.
+ Determines whether the specified object is equal to the current color.
+ The object to compare this color with.
+ True when the specified object is equal to the current color.
-
-
-
-
+
- Gets or sets the time in 1/100ths of a second which must expire before splaying the next image in an
- animated sequence.
+ Determines whether the specified color is equal to the current color.
+ The color to compare this color with.
+ True when the specified color is equal to the current color.
-
+
- Gets or sets the number of iterations to loop an animation (e.g. Netscape loop extension) for.
+ Determines whether the specified color is fuzzy equal to the current color.
+ The color to compare this color with.
+ The fuzz factor.
+ True when the specified color is fuzzy equal to the current instance.
-
+
- Gets or sets the ticks per seconds for the animation delay.
+ Serves as a hash of this type.
+ A hash code for the current instance.
-
+
- Gets the names of the artifacts.
+ Initializes the color with the specified bytes.
+ Red component value of this color.
+ Green component value of this color.
+ Blue component value of this color.
+ Alpha component value of this color.
-
+
- Gets the names of the attributes.
+ Converts the value of this instance to a array (RGBA or CMYKA).
+ The array.
-
+
- Gets or sets the background color of the image.
+ Converts the value of this instance to a hexadecimal string that will not include the alpha channel if it is opaque.
+ The .
-
+
- Gets the height of the image before transformations.
+ Converts the value of this instance to a string representation that will not include the alpha channel if it is opaque.
+ The .
-
+
- Gets the width of the image before transformations.
+ Converts the value of this instance to a string representation.
+ The .
-
+
- Gets or sets a value indicating whether black point compensation should be used.
+ Class that contains the same colors as System.Drawing.Colors.
-
+
- Gets or sets the border color of the image.
+ Gets a system-defined color that has an RGBA value of #00000000.
-
+
- Gets the smallest bounding box enclosing non-border pixels. The current fuzz value is used
- when discriminating between pixels.
+ Gets a system-defined color that has an RGBA value of #00000000.
-
+
- Gets the number of channels that the image contains.
+ Gets a system-defined color that has an RGBA value of #F0F8FFFF.
-
+
- Gets the channels of the image.
+ Gets a system-defined color that has an RGBA value of #FAEBD7FF.
-
+
- Gets or sets the chromaticity blue primary point.
+ Gets a system-defined color that has an RGBA value of #00FFFFFF.
-
+
- Gets or sets the chromaticity green primary point.
+ Gets a system-defined color that has an RGBA value of #7FFFD4FF.
-
+
- Gets or sets the chromaticity red primary point.
+ Gets a system-defined color that has an RGBA value of #F0FFFFFF.
-
+
- Gets or sets the chromaticity white primary point.
+ Gets a system-defined color that has an RGBA value of #F5F5DCFF.
-
+
- Gets or sets the image class (DirectClass or PseudoClass)
- NOTE: Setting a DirectClass image to PseudoClass will result in the loss of color information
- if the number of colors in the image is greater than the maximum palette size (either 256 (Q8)
- or 65536 (Q16).
+ Gets a system-defined color that has an RGBA value of #FFE4C4FF.
-
+
- Gets or sets the distance where colors are considered equal.
+ Gets a system-defined color that has an RGBA value of #000000FF.
-
+
- Gets or sets the colormap size (number of colormap entries).
+ Gets a system-defined color that has an RGBA value of #FFEBCDFF.
-
+
- Gets or sets the color space of the image.
+ Gets a system-defined color that has an RGBA value of #0000FFFF.
-
+
- Gets or sets the color type of the image.
+ Gets a system-defined color that has an RGBA value of #8A2BE2FF.
-
+
- Gets or sets the comment text of the image.
+ Gets a system-defined color that has an RGBA value of #A52A2AFF.
-
+
- Gets or sets the composition operator to be used when composition is implicitly used (such as for image flattening).
+ Gets a system-defined color that has an RGBA value of #DEB887FF.
-
+
- Gets the compression method of the image.
+ Gets a system-defined color that has an RGBA value of #5F9EA0FF.
-
+
- Gets or sets the vertical and horizontal resolution in pixels of the image.
+ Gets a system-defined color that has an RGBA value of #7FFF00FF.
-
+
- Gets or sets the depth (bits allocated to red/green/blue components).
+ Gets a system-defined color that has an RGBA value of #D2691EFF.
-
+
- Gets the preferred size of the image when encoding.
+ Gets a system-defined color that has an RGBA value of #FF7F50FF.
- Thrown when an error is raised by ImageMagick.
-
+
- Gets or sets the endianness (little like Intel or big like SPARC) for image formats which support
- endian-specific options.
+ Gets a system-defined color that has an RGBA value of #6495EDFF.
-
+
- Gets the original file name of the image (only available if read from disk).
+ Gets a system-defined color that has an RGBA value of #FFF8DCFF.
-
+
- Gets or sets the filter to use when resizing image.
+ Gets a system-defined color that has an RGBA value of #DC143CFF.
-
+
- Gets or sets the format of the image.
+ Gets a system-defined color that has an RGBA value of #00FFFFFF.
-
+
- Gets the information about the format of the image.
+ Gets a system-defined color that has an RGBA value of #00008BFF.
-
+
- Gets the gamma level of the image.
+ Gets a system-defined color that has an RGBA value of #008B8BFF.
- Thrown when an error is raised by ImageMagick.
-
+
- Gets or sets the gif disposal method.
+ Gets a system-defined color that has an RGBA value of #B8860BFF.
-
+
- Gets a value indicating whether the image contains a clipping path.
+ Gets a system-defined color that has an RGBA value of #A9A9A9FF.
-
+
- Gets or sets a value indicating whether the image supports transparency (alpha channel).
+ Gets a system-defined color that has an RGBA value of #006400FF.
-
+
- Gets the height of the image.
+ Gets a system-defined color that has an RGBA value of #BDB76BFF.
-
+
- Gets or sets the type of interlacing to use.
+ Gets a system-defined color that has an RGBA value of #8B008BFF.
-
+
- Gets or sets the pixel color interpolate method to use.
+ Gets a system-defined color that has an RGBA value of #556B2FFF.
-
+
- Gets a value indicating whether the instance is disposed.
+ Gets a system-defined color that has an RGBA value of #FF8C00FF.
-
+
- Gets a value indicating whether none of the pixels in the image have an alpha value other
- than OpaqueAlpha (QuantumRange).
+ Gets a system-defined color that has an RGBA value of #9932CCFF.
-
+
- Gets or sets the label of the image.
+ Gets a system-defined color that has an RGBA value of #8B0000FF.
-
+
- Gets or sets the matte color.
+ Gets a system-defined color that has an RGBA value of #E9967AFF.
-
+
- Gets or sets the photo orientation of the image.
+ Gets a system-defined color that has an RGBA value of #8FBC8BFF.
-
+
- Gets or sets the preferred size and location of an image canvas.
+ Gets a system-defined color that has an RGBA value of #483D8BFF.
-
+
- Gets the names of the profiles.
+ Gets a system-defined color that has an RGBA value of #2F4F4FFF.
-
+
- Gets or sets the JPEG/MIFF/PNG compression level (default 75).
+ Gets a system-defined color that has an RGBA value of #00CED1FF.
-
+
- Gets or sets the type of rendering intent.
+ Gets a system-defined color that has an RGBA value of #9400D3FF.
-
+
- Gets the settings for this MagickImage instance.
+ Gets a system-defined color that has an RGBA value of #FF1493FF.
-
+
- Gets the signature of this image.
+ Gets a system-defined color that has an RGBA value of #00BFFFFF.
- Thrown when an error is raised by ImageMagick.
-
+
- Gets the number of colors in the image.
+ Gets a system-defined color that has an RGBA value of #696969FF.
-
+
- Gets or sets the virtual pixel method.
+ Gets a system-defined color that has an RGBA value of #1E90FFFF.
-
+
- Gets the width of the image.
+ Gets a system-defined color that has an RGBA value of #B22222FF.
-
+
- Determines whether the specified instances are considered equal.
+ Gets a system-defined color that has an RGBA value of #FFFAF0FF.
- The first to compare.
- The second to compare.
-
+
- Determines whether the specified instances are not considered equal.
+ Gets a system-defined color that has an RGBA value of #228B22FF.
- The first to compare.
- The second to compare.
-
+
- Determines whether the first is more than the second .
+ Gets a system-defined color that has an RGBA value of #FF00FFFF.
- The first to compare.
- The second to compare.
-
+
- Determines whether the first is less than the second .
+ Gets a system-defined color that has an RGBA value of #DCDCDCFF.
- The first to compare.
- The second to compare.
-
+
- Determines whether the first is more than or equal to the second .
+ Gets a system-defined color that has an RGBA value of #F8F8FFFF.
- The first to compare.
- The second to compare.
-
+
- Determines whether the first is less than or equal to the second .
+ Gets a system-defined color that has an RGBA value of #FFD700FF.
- The first to compare.
- The second to compare.
-
+
- Initializes a new instance of the class using the specified base64 string.
+ Gets a system-defined color that has an RGBA value of #DAA520FF.
- The base64 string to load the image from.
- A new instance of the class.
-
+
- Adaptive-blur image with the default blur factor (0x1).
+ Gets a system-defined color that has an RGBA value of #808080FF.
- Thrown when an error is raised by ImageMagick.
-
+
- Adaptive-blur image with specified blur factor.
+ Gets a system-defined color that has an RGBA value of #008000FF.
- The radius of the Gaussian, in pixels, not counting the center pixel.
- Thrown when an error is raised by ImageMagick.
-
+
- Adaptive-blur image with specified blur factor.
+ Gets a system-defined color that has an RGBA value of #ADFF2FFF.
- The radius of the Gaussian, in pixels, not counting the center pixel.
- The standard deviation of the Laplacian, in pixels.
- Thrown when an error is raised by ImageMagick.
-
+
- Resize using mesh interpolation. It works well for small resizes of less than +/- 50%
- of the original image size. For larger resizing on images a full filtered and slower resize
- function should be used instead.
-
- Resize will fit the image into the requested size. It does NOT fill, the requested box size.
- Use the overload for more control over the resulting size.
+ Gets a system-defined color that has an RGBA value of #F0FFF0FF.
- The new width.
- The new height.
- Thrown when an error is raised by ImageMagick.
-
+
- Resize using mesh interpolation. It works well for small resizes of less than +/- 50%
- of the original image size. For larger resizing on images a full filtered and slower resize
- function should be used instead.
+ Gets a system-defined color that has an RGBA value of #FF69B4FF.
- The geometry to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Adaptively sharpens the image by sharpening more intensely near image edges and less
- intensely far from edges.
+ Gets a system-defined color that has an RGBA value of #CD5C5CFF.
- Thrown when an error is raised by ImageMagick.
-
+
- Adaptively sharpens the image by sharpening more intensely near image edges and less
- intensely far from edges.
+ Gets a system-defined color that has an RGBA value of #4B0082FF.
- The channel(s) that should be sharpened.
- Thrown when an error is raised by ImageMagick.
-
+
- Adaptively sharpens the image by sharpening more intensely near image edges and less
- intensely far from edges.
+ Gets a system-defined color that has an RGBA value of #FFFFF0FF.
- The radius of the Gaussian, in pixels, not counting the center pixel.
- The standard deviation of the Laplacian, in pixels.
- Thrown when an error is raised by ImageMagick.
-
+
- Adaptively sharpens the image by sharpening more intensely near image edges and less
- intensely far from edges.
+ Gets a system-defined color that has an RGBA value of #F0E68CFF.
- The radius of the Gaussian, in pixels, not counting the center pixel.
- The standard deviation of the Laplacian, in pixels.
- The channel(s) that should be sharpened.
-
+
- Local adaptive threshold image.
- http://www.dai.ed.ac.uk/HIPR2/adpthrsh.htm.
+ Gets a system-defined color that has an RGBA value of #E6E6FAFF.
- The width of the pixel neighborhood.
- The height of the pixel neighborhood.
- Thrown when an error is raised by ImageMagick.
-
+
- Local adaptive threshold image.
- http://www.dai.ed.ac.uk/HIPR2/adpthrsh.htm.
+ Gets a system-defined color that has an RGBA value of #FFF0F5FF.
- The width of the pixel neighborhood.
- The height of the pixel neighborhood.
- The channel(s) that should be thresholded.
- Thrown when an error is raised by ImageMagick.
-
+
- Local adaptive threshold image.
- http://www.dai.ed.ac.uk/HIPR2/adpthrsh.htm.
+ Gets a system-defined color that has an RGBA value of #7CFC00FF.
- The width of the pixel neighborhood.
- The height of the pixel neighborhood.
- Constant to subtract from pixel neighborhood mean (+/-)(0-QuantumRange).
- Thrown when an error is raised by ImageMagick.
-
+
- Local adaptive threshold image.
- http://www.dai.ed.ac.uk/HIPR2/adpthrsh.htm.
+ Gets a system-defined color that has an RGBA value of #FFFACDFF.
- The width of the pixel neighborhood.
- The height of the pixel neighborhood.
- Constant to subtract from pixel neighborhood mean (+/-)(0-QuantumRange).
- The channel(s) that should be thresholded.
- Thrown when an error is raised by ImageMagick.
-
+
- Local adaptive threshold image.
- http://www.dai.ed.ac.uk/HIPR2/adpthrsh.htm.
+ Gets a system-defined color that has an RGBA value of #ADD8E6FF.
- The width of the pixel neighborhood.
- The height of the pixel neighborhood.
- Constant to subtract from pixel neighborhood mean.
- Thrown when an error is raised by ImageMagick.
-
+
- Local adaptive threshold image.
- http://www.dai.ed.ac.uk/HIPR2/adpthrsh.htm.
+ Gets a system-defined color that has an RGBA value of #F08080FF.
- The width of the pixel neighborhood.
- The height of the pixel neighborhood.
- Constant to subtract from pixel neighborhood mean.
- The channel(s) that should be thresholded.
- Thrown when an error is raised by ImageMagick.
-
+
- Add noise to image with the specified noise type.
+ Gets a system-defined color that has an RGBA value of #E0FFFFFF.
- The type of noise that should be added to the image.
- Thrown when an error is raised by ImageMagick.
-
+
- Add noise to the specified channel of the image with the specified noise type.
+ Gets a system-defined color that has an RGBA value of #FAFAD2FF.
- The type of noise that should be added to the image.
- The channel(s) where the noise should be added.
- Thrown when an error is raised by ImageMagick.
-
+
- Add noise to image with the specified noise type.
+ Gets a system-defined color that has an RGBA value of #90EE90FF.
- The type of noise that should be added to the image.
- Attenuate the random distribution.
- Thrown when an error is raised by ImageMagick.
-
+
- Add noise to the specified channel of the image with the specified noise type.
+ Gets a system-defined color that has an RGBA value of #D3D3D3FF.
- The type of noise that should be added to the image.
- Attenuate the random distribution.
- The channel(s) where the noise should be added.
- Thrown when an error is raised by ImageMagick.
-
+
- Affine Transform image.
+ Gets a system-defined color that has an RGBA value of #FFB6C1FF.
- The affine matrix to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Applies the specified alpha option.
+ Gets a system-defined color that has an RGBA value of #FFA07AFF.
- The option to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Annotate using specified text, and bounding area.
+ Gets a system-defined color that has an RGBA value of #20B2AAFF.
- The text to use.
- The bounding area.
- Thrown when an error is raised by ImageMagick.
-
+
- Annotate using specified text, bounding area, and placement gravity.
+ Gets a system-defined color that has an RGBA value of #87CEFAFF.
- The text to use.
- The bounding area.
- The placement gravity.
- Thrown when an error is raised by ImageMagick.
-
+
- Annotate using specified text, bounding area, and placement gravity.
+ Gets a system-defined color that has an RGBA value of #778899FF.
- The text to use.
- The bounding area.
- The placement gravity.
- The rotation.
- Thrown when an error is raised by ImageMagick.
-
+
- Annotate with text (bounding area is entire image) and placement gravity.
+ Gets a system-defined color that has an RGBA value of #B0C4DEFF.
- The text to use.
- The placement gravity.
- Thrown when an error is raised by ImageMagick.
-
+
- Extracts the 'mean' from the image and adjust the image to try make set its gamma.
- appropriatally.
+ Gets a system-defined color that has an RGBA value of #FFFFE0FF.
- Thrown when an error is raised by ImageMagick.
-
+
- Extracts the 'mean' from the image and adjust the image to try make set its gamma.
- appropriatally.
+ Gets a system-defined color that has an RGBA value of #00FF00FF.
- The channel(s) to set the gamma for.
- Thrown when an error is raised by ImageMagick.
-
+
- Adjusts the levels of a particular image channel by scaling the minimum and maximum values
- to the full quantum range.
+ Gets a system-defined color that has an RGBA value of #32CD32FF.
- Thrown when an error is raised by ImageMagick.
-
+
- Adjusts the levels of a particular image channel by scaling the minimum and maximum values
- to the full quantum range.
+ Gets a system-defined color that has an RGBA value of #FAF0E6FF.
- The channel(s) to level.
- Thrown when an error is raised by ImageMagick.
-
+
- Adjusts an image so that its orientation is suitable for viewing.
+ Gets a system-defined color that has an RGBA value of #FF00FFFF.
- Thrown when an error is raised by ImageMagick.
-
+
- Automatically selects a threshold and replaces each pixel in the image with a black pixel if
- the image intentsity is less than the selected threshold otherwise white.
+ Gets a system-defined color that has an RGBA value of #800000FF.
- The threshold method.
- Thrown when an error is raised by ImageMagick.
-
+
- Forces all pixels below the threshold into black while leaving all pixels at or above
- the threshold unchanged.
+ Gets a system-defined color that has an RGBA value of #66CDAAFF.
- The threshold to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Forces all pixels below the threshold into black while leaving all pixels at or above
- the threshold unchanged.
+ Gets a system-defined color that has an RGBA value of #0000CDFF.
- The threshold to use.
- The channel(s) to make black.
- Thrown when an error is raised by ImageMagick.
-
+
- Simulate a scene at nighttime in the moonlight.
+ Gets a system-defined color that has an RGBA value of #BA55D3FF.
- Thrown when an error is raised by ImageMagick.
-
+
- Simulate a scene at nighttime in the moonlight.
+ Gets a system-defined color that has an RGBA value of #9370DBFF.
- The factor to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Calculates the bit depth (bits allocated to red/green/blue components). Use the Depth
- property to get the current value.
+ Gets a system-defined color that has an RGBA value of #3CB371FF.
- Thrown when an error is raised by ImageMagick.
- The bit depth (bits allocated to red/green/blue components).
-
+
- Calculates the bit depth (bits allocated to red/green/blue components) of the specified channel.
+ Gets a system-defined color that has an RGBA value of #7B68EEFF.
- The channel to get the depth for.
- Thrown when an error is raised by ImageMagick.
- The bit depth (bits allocated to red/green/blue components) of the specified channel.
-
+
- Set the bit depth (bits allocated to red/green/blue components) of the specified channel.
+ Gets a system-defined color that has an RGBA value of #00FA9AFF.
- The channel to set the depth for.
- The depth.
- Thrown when an error is raised by ImageMagick.
-
+
- Set the bit depth (bits allocated to red/green/blue components).
+ Gets a system-defined color that has an RGBA value of #48D1CCFF.
- The depth.
- Thrown when an error is raised by ImageMagick.
-
+
- Blur image with the default blur factor (0x1).
+ Gets a system-defined color that has an RGBA value of #C71585FF.
- Thrown when an error is raised by ImageMagick.
-
+
- Blur image the specified channel of the image with the default blur factor (0x1).
+ Gets a system-defined color that has an RGBA value of #191970FF.
- The channel(s) that should be blurred.
- Thrown when an error is raised by ImageMagick.
-
+
- Blur image with specified blur factor.
+ Gets a system-defined color that has an RGBA value of #F5FFFAFF.
- The radius of the Gaussian in pixels, not counting the center pixel.
- The standard deviation of the Laplacian, in pixels.
- Thrown when an error is raised by ImageMagick.
-
+
- Blur image with specified blur factor and channel.
+ Gets a system-defined color that has an RGBA value of #FFE4E1FF.
- The radius of the Gaussian in pixels, not counting the center pixel.
- The standard deviation of the Laplacian, in pixels.
- The channel(s) that should be blurred.
- Thrown when an error is raised by ImageMagick.
-
+
- Border image (add border to image).
+ Gets a system-defined color that has an RGBA value of #FFE4B5FF.
- The size of the border.
- Thrown when an error is raised by ImageMagick.
-
+
- Border image (add border to image).
+ Gets a system-defined color that has an RGBA value of #FFDEADFF.
- The width of the border.
- The height of the border.
- Thrown when an error is raised by ImageMagick.
-
+
- Changes the brightness and/or contrast of an image. It converts the brightness and
- contrast parameters into slope and intercept and calls a polynomical function to apply
- to the image.
+ Gets a system-defined color that has an RGBA value of #000080FF.
- The brightness.
- The contrast.
- Thrown when an error is raised by ImageMagick.
-
+
- Changes the brightness and/or contrast of an image. It converts the brightness and
- contrast parameters into slope and intercept and calls a polynomical function to apply
- to the image.
+ Gets a system-defined color that has an RGBA value of #FDF5E6FF.
- The brightness.
- The contrast.
- The channel(s) that should be changed.
- Thrown when an error is raised by ImageMagick.
-
+
- Uses a multi-stage algorithm to detect a wide range of edges in images.
+ Gets a system-defined color that has an RGBA value of #808000FF.
- Thrown when an error is raised by ImageMagick.
-
+
- Uses a multi-stage algorithm to detect a wide range of edges in images.
+ Gets a system-defined color that has an RGBA value of #6B8E23FF.
- The radius of the gaussian smoothing filter.
- The sigma of the gaussian smoothing filter.
- Percentage of edge pixels in the lower threshold.
- Percentage of edge pixels in the upper threshold.
- Thrown when an error is raised by ImageMagick.
-
+
- Charcoal effect image (looks like charcoal sketch).
+ Gets a system-defined color that has an RGBA value of #FFA500FF.
- Thrown when an error is raised by ImageMagick.
-
+
- Charcoal effect image (looks like charcoal sketch).
+ Gets a system-defined color that has an RGBA value of #FF4500FF.
- The radius of the Gaussian, in pixels, not counting the center pixel.
- The standard deviation of the Laplacian, in pixels.
- Thrown when an error is raised by ImageMagick.
-
+
- Chop image (remove vertical or horizontal subregion of image) using the specified geometry.
+ Gets a system-defined color that has an RGBA value of #DA70D6FF.
- The geometry to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Chop image (remove horizontal subregion of image).
+ Gets a system-defined color that has an RGBA value of #EEE8AAFF.
- The X offset from origin.
- The width of the part to chop horizontally.
- Thrown when an error is raised by ImageMagick.
-
+
- Chop image (remove horizontal subregion of image).
+ Gets a system-defined color that has an RGBA value of #98FB98FF.
- The Y offset from origin.
- The height of the part to chop vertically.
- Thrown when an error is raised by ImageMagick.
-
+
- A variant of adaptive histogram equalization in which the contrast amplification is limited,
- so as to reduce this problem of noise amplification.
+ Gets a system-defined color that has an RGBA value of #AFEEEEFF.
- The percentage of tile divisions to use in horizontal direction.
- The percentage of tile divisions to use in vertical direction.
- The number of bins for histogram ("dynamic range").
- The contrast limit for localised changes in contrast. A limit less than 1
- results in standard non-contrast limited AHE.
-
+
- A variant of adaptive histogram equalization in which the contrast amplification is limited,
- so as to reduce this problem of noise amplification.
+ Gets a system-defined color that has an RGBA value of #DB7093FF.
- The number of tile divisions to use in horizontal direction.
- The number of tile divisions to use in vertical direction.
- The number of bins for histogram ("dynamic range").
- The contrast limit for localised changes in contrast. A limit less than 1
- results in standard non-contrast limited AHE.
-
+
- Set each pixel whose value is below zero to zero and any the pixel whose value is above
- the quantum range to the quantum range (Quantum.Max) otherwise the pixel value
- remains unchanged.
+ Gets a system-defined color that has an RGBA value of #FFEFD5FF.
- Thrown when an error is raised by ImageMagick.
-
+
- Set each pixel whose value is below zero to zero and any the pixel whose value is above
- the quantum range to the quantum range (Quantum.Max) otherwise the pixel value
- remains unchanged.
+ Gets a system-defined color that has an RGBA value of #FFDAB9FF.
- The channel(s) to clamp.
- Thrown when an error is raised by ImageMagick.
-
+
- Sets the image clip mask based on any clipping path information if it exists.
+ Gets a system-defined color that has an RGBA value of #CD853FFF.
- Thrown when an error is raised by ImageMagick.
-
+
- Sets the image clip mask based on any clipping path information if it exists.
+ Gets a system-defined color that has an RGBA value of #FFC0CBFF.
- Name of clipping path resource. If name is preceded by #, use
- clipping path numbered by name.
- Specifies if operations take effect inside or outside the clipping
- path.
- Thrown when an error is raised by ImageMagick.
-
+
- Creates a clone of the current image.
+ Gets a system-defined color that has an RGBA value of #DDA0DDFF.
- A clone of the current image.
-
+
- Creates a clone of the current image with the specified geometry.
+ Gets a system-defined color that has an RGBA value of #B0E0E6FF.
- The area to clone.
- A clone of the current image.
- Thrown when an error is raised by ImageMagick.
-
+
- Creates a clone of the current image.
+ Gets a system-defined color that has an RGBA value of #800080FF.
- The width of the area to clone.
- The height of the area to clone.
- A clone of the current image.
-
+
- Creates a clone of the current image.
+ Gets a system-defined color that has an RGBA value of #FF0000FF.
- The X offset from origin.
- The Y offset from origin.
- The width of the area to clone.
- The height of the area to clone.
- A clone of the current image.
-
+
- Apply a color lookup table (CLUT) to the image.
+ Gets a system-defined color that has an RGBA value of #BC8F8FFF.
- The image to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Apply a color lookup table (CLUT) to the image.
+ Gets a system-defined color that has an RGBA value of #4169E1FF.
- The image to use.
- Pixel interpolate method.
- Thrown when an error is raised by ImageMagick.
-
+
- Apply a color lookup table (CLUT) to the image.
+ Gets a system-defined color that has an RGBA value of #8B4513FF.
- The image to use.
- Pixel interpolate method.
- The channel(s) to clut.
- Thrown when an error is raised by ImageMagick.
-
+
- Sets the alpha channel to the specified color.
+ Gets a system-defined color that has an RGBA value of #FA8072FF.
- The color to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Applies the color decision list from the specified ASC CDL file.
+ Gets a system-defined color that has an RGBA value of #F4A460FF.
- The file to read the ASC CDL information from.
- Thrown when an error is raised by ImageMagick.
-
+
- Colorize image with the specified color, using specified percent alpha.
+ Gets a system-defined color that has an RGBA value of #2E8B57FF.
- The color to use.
- The alpha percentage.
- Thrown when an error is raised by ImageMagick.
-
+
- Colorize image with the specified color, using specified percent alpha for red, green,
- and blue quantums.
+ Gets a system-defined color that has an RGBA value of #FFF5EEFF.
- The color to use.
- The alpha percentage for red.
- The alpha percentage for green.
- The alpha percentage for blue.
- Thrown when an error is raised by ImageMagick.
-
+
- Apply a color matrix to the image channels.
+ Gets a system-defined color that has an RGBA value of #A0522DFF.
- The color matrix to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Forces all pixels in the color range to white otherwise black.
+ Gets a system-defined color that has an RGBA value of #C0C0C0FF.
- The start color of the color range.
- The stop color of the color range.
-
+
- Compare current image with another image and returns error information.
+ Gets a system-defined color that has an RGBA value of #87CEEBFF.
- The other image to compare with this image.
- The error information.
- Thrown when an error is raised by ImageMagick.
-
+
- Returns the distortion based on the specified metric.
+ Gets a system-defined color that has an RGBA value of #6A5ACDFF.
- The other image to compare with this image.
- The metric to use.
- The distortion based on the specified metric.
- Thrown when an error is raised by ImageMagick.
-
+
- Returns the distortion based on the specified metric.
+ Gets a system-defined color that has an RGBA value of #708090FF.
- The other image to compare with this image.
- The metric to use.
- The channel(s) to compare.
- The distortion based on the specified metric.
- Thrown when an error is raised by ImageMagick.
-
+
- Returns the distortion based on the specified metric.
+ Gets a system-defined color that has an RGBA value of #FFFAFAFF.
- The other image to compare with this image.
- The settings to use.
- The image that will contain the difference.
- The distortion based on the specified metric.
- Thrown when an error is raised by ImageMagick.
-
+
- Returns the distortion based on the specified metric.
+ Gets a system-defined color that has an RGBA value of #00FF7FFF.
- The other image to compare with this image.
- The metric to use.
- The image that will contain the difference.
- The distortion based on the specified metric.
- Thrown when an error is raised by ImageMagick.
-
+
- Returns the distortion based on the specified metric.
+ Gets a system-defined color that has an RGBA value of #4682B4FF.
- The other image to compare with this image.
- The metric to use.
- The image that will contain the difference.
- The channel(s) to compare.
- The distortion based on the specified metric.
- Thrown when an error is raised by ImageMagick.
-
+
- Returns the distortion based on the specified metric.
+ Gets a system-defined color that has an RGBA value of #D2B48CFF.
- The other image to compare with this image.
- The settings to use.
- The image that will contain the difference.
- The channel(s) to compare.
- The distortion based on the specified metric.
- Thrown when an error is raised by ImageMagick.
-
+
- Compares the current instance with another image. Only the size of the image is compared.
+ Gets a system-defined color that has an RGBA value of #008080FF.
- The object to compare this image with.
- A signed number indicating the relative values of this instance and value.
-
+
- Compose an image onto another at specified offset using the 'In' operator.
+ Gets a system-defined color that has an RGBA value of #D8BFD8FF.
- The image to composite with this image.
- Thrown when an error is raised by ImageMagick.
-
+
- Compose an image onto another at specified offset using the 'In' operator.
+ Gets a system-defined color that has an RGBA value of #FF6347FF.
- The image to composite with this image.
- The channel(s) to composite.
- Thrown when an error is raised by ImageMagick.
-
+
- Compose an image onto another using the specified algorithm.
+ Gets a system-defined color that has an RGBA value of #40E0D0FF.
- The image to composite with this image.
- The algorithm to use.
- Thrown when an error is raised by ImageMagick.
-
+
- Compose an image onto another using the specified algorithm.
+ Gets a system-defined color that has an RGBA value of #EE82EEFF.
- The image to composite with this image.
- The algorithm to use.
- The channel(s) to composite.
- Thrown when an error is raised by ImageMagick.
-
+
- Compose an image onto another at specified offset using the specified algorithm.
+ Gets a system-defined color that has an RGBA value of #F5DEB3FF.
- The image to composite with this image.
- The algorithm to use.
- The arguments for the algorithm (compose:args).
- Thrown when an error is raised by ImageMagick.
-
+
- Compose an image onto another at specified offset using the specified algorithm.
+ Gets a system-defined color that has an RGBA value of #FFFFFFFF.
- The image to composite with this image.
- The algorithm to use.
- The arguments for the algorithm (compose:args).
- The channel(s) to composite.
- Thrown when an error is raised by ImageMagick.
-
+
- Compose an image onto another at specified offset using the 'In' operator.
+ Gets a system-defined color that has an RGBA value of #F5F5F5FF.
- The image to composite with this image.
- The X offset from origin.
- The Y offset from origin.
- Thrown when an error is raised by ImageMagick.
-
+