added webp format again
This commit is contained in:
parent
cb0fd96c2d
commit
17a71f1317
2
Mk0.Software.ImageSorter/Main.Designer.cs
generated
2
Mk0.Software.ImageSorter/Main.Designer.cs
generated
@ -920,7 +920,7 @@
|
||||
this.konvertierenF7ToolStripMenuItem.Name = "konvertierenF7ToolStripMenuItem";
|
||||
this.konvertierenF7ToolStripMenuItem.Size = new System.Drawing.Size(281, 32);
|
||||
this.konvertierenF7ToolStripMenuItem.Text = "Konvertieren (F7)";
|
||||
this.konvertierenF7ToolStripMenuItem.Click += new System.EventHandler(this.KonvertierenF7ToolStripMenuItem_Click);
|
||||
this.konvertierenF7ToolStripMenuItem.Click += new System.EventHandler(this.KonvertierenToolStripMenuItem_Click);
|
||||
//
|
||||
// Main
|
||||
//
|
||||
|
@ -69,6 +69,7 @@ namespace Mk0.Software.ImageSorter
|
||||
FileAssociation.Check("Image_Sorter_BMP", Application.ExecutablePath, "BMP Bild", $@"{Application.StartupPath}\AssocIcons\bmp.ico") &&
|
||||
FileAssociation.Check("Image_Sorter_TIF", Application.ExecutablePath, "TIF Bild", $@"{Application.StartupPath}\AssocIcons\tif.ico") &&
|
||||
FileAssociation.Check("Image_Sorter_TIFF", Application.ExecutablePath, "TIFF Bild", $@"{Application.StartupPath}\AssocIcons\tiff.ico") &&
|
||||
FileAssociation.Check("Image_Sorter_WEBP", Application.ExecutablePath, "WEBP Bild", $@"{Application.StartupPath}\AssocIcons\webp.ico") &&
|
||||
FileAssociation.Check("Image_Sorter_HEIC", Application.ExecutablePath, "HEIC Bild", $@"{Application.StartupPath}\AssocIcons\heic.ico"))
|
||||
{
|
||||
Properties.Settings.Default.fileAssociation = true;
|
||||
@ -137,6 +138,7 @@ namespace Mk0.Software.ImageSorter
|
||||
WriteResource($@"{Application.StartupPath}\AssocIcons\tif.ico", Resources.tif);
|
||||
WriteResource($@"{Application.StartupPath}\AssocIcons\tiff.ico", Resources.tiff);
|
||||
WriteResource($@"{Application.StartupPath}\AssocIcons\heic.ico", Resources.heic);
|
||||
WriteResource($@"{Application.StartupPath}\AssocIcons\webp.ico", Resources.webp);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -601,6 +603,7 @@ namespace Mk0.Software.ImageSorter
|
||||
FileAssociation.Add("Image_Sorter_TIF", ".tif", Application.ExecutablePath, "TIF Bild", $@"{Application.StartupPath}\AssocIcons\tif.ico");
|
||||
FileAssociation.Add("Image_Sorter_TIFF", ".tiff", Application.ExecutablePath, "TIFF Bild", $@"{Application.StartupPath}\AssocIcons\tiff.ico");
|
||||
FileAssociation.Add("Image_Sorter_HEIC", ".heic", Application.ExecutablePath, "HEIC Bild", $@"{Application.StartupPath}\AssocIcons\heic.ico");
|
||||
FileAssociation.Add("Image_Sorter_WEBP", ".webp", Application.ExecutablePath, "WEBP Bild", $@"{Application.StartupPath}\AssocIcons\webp.ico");
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -615,6 +618,7 @@ namespace Mk0.Software.ImageSorter
|
||||
FileAssociation.Remove("Image_Sorter_TIF");
|
||||
FileAssociation.Remove("Image_Sorter_TIFF");
|
||||
FileAssociation.Remove("Image_Sorter_HEIC");
|
||||
FileAssociation.Remove("Image_Sorter_WEBP");
|
||||
}
|
||||
}
|
||||
|
||||
@ -2279,7 +2283,7 @@ namespace Mk0.Software.ImageSorter
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void KonvertierenF7ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
private void KonvertierenToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
Konverter k = new Konverter(pictureBoxImage.ImageLocation);
|
||||
DialogResult res = k.ShowDialog();
|
||||
|
Loading…
Reference in New Issue
Block a user