implemented #10

This commit is contained in:
Manuel Kamper 2024-08-17 08:18:32 +02:00
parent 6e97e3b8fb
commit b1c1dca495
4 changed files with 19 additions and 12 deletions

View File

@ -888,7 +888,7 @@
this.KeyPreview = true;
this.MinimumSize = new System.Drawing.Size(983, 605);
this.Name = "Main";
this.Text = "Image Sorter v2.8 | © 2015-2024 by kmpr.at";
this.Text = "Image Sorter v2.9 | © 2015-2024 by kmpr.at";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing);
this.Load += new System.EventHandler(this.Main_Load);
this.Shown += new System.EventHandler(this.Main_Shown);

View File

@ -2205,6 +2205,8 @@ namespace Mk0.Software.ImageSorter
private void ButtonWebRemove_Click(object sender, EventArgs e)
{
if (CheckInpaint())
{
if (Path.GetExtension(pictureBoxImage.ImageLocation).ToLower() != "heic")
{
Inpaint ip = new Inpaint(Properties.Settings.Default.inpaintUrl, pictureBoxImage.ImageLocation);
ip.ShowDialog();
@ -2218,6 +2220,11 @@ namespace Mk0.Software.ImageSorter
}
}
else
{
MessageBox.Show("Das Dateiformat dieses Bildes wird von Inpaint nicht unterstützt.\n\nBitte konvertiere das Bild zuerst in ein unterstütztes Bildformat.", "Inpaint Dateityp", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
else
{
MessageBox.Show("Die URL zu IOPaint wurde nicht konfiguriert, oder ist falsch konfiguriert (geben sie diese mit http(s):// ein), oder IOPaint lieferte einen Fehler.\n\nPassen sie die URL in den Einstellungen im Register \"Inpaint\" an.", "Inpaint Konfigurationsfehler", MessageBoxButtons.OK, MessageBoxIcon.Error);
}

View File

@ -38,7 +38,7 @@
<PublisherName>manuelkamper.com</PublisherName>
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>2.8.0.0</ApplicationVersion>
<ApplicationVersion>2.9.0.0</ApplicationVersion>
<UseApplicationTrust>true</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<ExcludeDeploymentUrl>true</ExcludeDeploymentUrl>
@ -62,7 +62,7 @@
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>0</WarningLevel>
<WarningLevel>5</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>image.ico</ApplicationIcon>

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.8.*")]
[assembly: AssemblyVersion("2.9.*")]
//[assembly: AssemblyFileVersion("1.6.0.0")]