Browse Source

Initial

master
Manuel Kamper 3 years ago
parent
commit
e9a9ae01d9
  1. 22
      Mk0.Software.ImageSorter.sln
  2. 36
      Mk0.Software.ImageSorter/App.config
  3. 86
      Mk0.Software.ImageSorter/Cropper.Designer.cs
  4. 55
      Mk0.Software.ImageSorter/Cropper.cs
  5. 120
      Mk0.Software.ImageSorter/Cropper.resx
  6. BIN
      Mk0.Software.ImageSorter/Cursors/grab.cur
  7. BIN
      Mk0.Software.ImageSorter/Cursors/grabbing.cur
  8. 536
      Mk0.Software.ImageSorter/Main.Designer.cs
  9. 1118
      Mk0.Software.ImageSorter/Main.cs
  10. 3622
      Mk0.Software.ImageSorter/Main.resx
  11. 255
      Mk0.Software.ImageSorter/Mk0.Software.ImageSorter.csproj
  12. 20
      Mk0.Software.ImageSorter/Program.cs
  13. 36
      Mk0.Software.ImageSorter/Properties/AssemblyInfo.cs
  14. 123
      Mk0.Software.ImageSorter/Properties/Resources.Designer.cs
  15. 139
      Mk0.Software.ImageSorter/Properties/Resources.resx
  16. 110
      Mk0.Software.ImageSorter/Properties/Settings.Designer.cs
  17. 27
      Mk0.Software.ImageSorter/Properties/Settings.settings
  18. BIN
      Mk0.Software.ImageSorter/Resources/bmp.ico
  19. BIN
      Mk0.Software.ImageSorter/Resources/crop.jpg
  20. BIN
      Mk0.Software.ImageSorter/Resources/crop.png
  21. BIN
      Mk0.Software.ImageSorter/Resources/delete.png
  22. BIN
      Mk0.Software.ImageSorter/Resources/gif.ico
  23. BIN
      Mk0.Software.ImageSorter/Resources/jpeg.ico
  24. BIN
      Mk0.Software.ImageSorter/Resources/jpg.ico
  25. BIN
      Mk0.Software.ImageSorter/Resources/move.png
  26. BIN
      Mk0.Software.ImageSorter/Resources/png.ico
  27. BIN
      Mk0.Software.ImageSorter/Resources/tif.ico
  28. BIN
      Mk0.Software.ImageSorter/Resources/tiff.ico
  29. BIN
      Mk0.Software.ImageSorter/Resources/undo.png
  30. 111
      Mk0.Software.ImageSorter/Settings.Designer.cs
  31. 45
      Mk0.Software.ImageSorter/Settings.cs
  32. 123
      Mk0.Software.ImageSorter/Settings.resx
  33. 192
      Mk0.Software.ImageSorter/Vergleicher.Designer.cs
  34. 37
      Mk0.Software.ImageSorter/Vergleicher.cs
  35. 125
      Mk0.Software.ImageSorter/Vergleicher.resx
  36. BIN
      Mk0.Software.ImageSorter/image.ico
  37. 30
      README.md

22
Mk0.Software.ImageSorter.sln

@ -0,0 +1,22 @@ @@ -0,0 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.438
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mk0.Software.ImageSorter", "Mk0.Software.ImageSorter\Mk0.Software.ImageSorter.csproj", "{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

36
Mk0.Software.ImageSorter/App.config

@ -0,0 +1,36 @@ @@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Mk0.Software.ImageSorter.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
</startup>
<userSettings>
<Mk0.Software.ImageSorter.Properties.Settings>
<setting name="targetPath" serializeAs="String">
<value />
</setting>
<setting name="lastPath" serializeAs="String">
<value />
</setting>
<setting name="singleInstance" serializeAs="String">
<value>True</value>
</setting>
<setting name="lastWidth" serializeAs="String">
<value>0</value>
</setting>
<setting name="lastHeight" serializeAs="String">
<value>0</value>
</setting>
<setting name="lastTop" serializeAs="String">
<value>0</value>
</setting>
<setting name="lastLeft" serializeAs="String">
<value>0</value>
</setting>
</Mk0.Software.ImageSorter.Properties.Settings>
</userSettings>
</configuration>

86
Mk0.Software.ImageSorter/Cropper.Designer.cs generated

@ -0,0 +1,86 @@ @@ -0,0 +1,86 @@
namespace Mk0.Software.ImageSorter
{
partial class Cropper
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.rubberBand1 = new RickApps.CropImage.RubberBand();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// rubberBand1
//
this.rubberBand1.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.rubberBand1.Disabled = false;
this.rubberBand1.Image = null;
this.rubberBand1.Location = new System.Drawing.Point(12, 25);
this.rubberBand1.Name = "rubberBand1";
this.rubberBand1.Size = new System.Drawing.Size(776, 527);
this.rubberBand1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.rubberBand1.TabIndex = 0;
this.rubberBand1.ImageCropped += new System.EventHandler(this.RubberBand1_ImageCropped);
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label1.Location = new System.Drawing.Point(12, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(776, 13);
this.label1.TabIndex = 1;
this.label1.Text = "Mit der Maus einen Rahmen ziehen. Dieser ist veränderbar. Doppelklick im Rahmen s" +
"peichert den Zuschnitt. Klick außerhalb bricht den Zuschneide-Vorgang ab.";
this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// Cropper
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 564);
this.Controls.Add(this.label1);
this.Controls.Add(this.rubberBand1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.MinimumSize = new System.Drawing.Size(816, 603);
this.Name = "Cropper";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Bild zuschneiden";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Cropper_FormClosing);
this.ResumeLayout(false);
}
#endregion
private RickApps.CropImage.RubberBand rubberBand1;
private System.Windows.Forms.Label label1;
}
}

55
Mk0.Software.ImageSorter/Cropper.cs

@ -0,0 +1,55 @@ @@ -0,0 +1,55 @@
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Windows.Forms;
namespace Mk0.Software.ImageSorter
{
public partial class Cropper : Form
{
private string imageLocation;
internal string NewFileLocation;
private Image img, cropped;
public Cropper(string imageLocation)
{
InitializeComponent();
this.imageLocation = imageLocation;
img = Image.FromFile(imageLocation);
rubberBand1.Image = img;
}
private void RubberBand1_ImageCropped(object sender, EventArgs e)
{
string folder = Path.GetDirectoryName(imageLocation);
string file = Path.GetFileNameWithoutExtension(imageLocation) + "_crp";
string ext = Path.GetExtension(imageLocation);
NewFileLocation = Path.Combine(folder, file + ext);
cropped = rubberBand1.SelectedImage;
if (ext == ".png")
{
cropped.Save(NewFileLocation, ImageFormat.Png);
}
else if (ext == ".gif")
{
cropped.Save(NewFileLocation, ImageFormat.Gif);
}
else
{
cropped.Save(NewFileLocation, ImageFormat.Jpeg);
}
DialogResult = DialogResult.OK;
Close();
}
private void Cropper_FormClosing(object sender, FormClosingEventArgs e)
{
img.Dispose();
}
}
}

120
Mk0.Software.ImageSorter/Cropper.resx

@ -0,0 +1,120 @@ @@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

BIN
Mk0.Software.ImageSorter/Cursors/grab.cur

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

BIN
Mk0.Software.ImageSorter/Cursors/grabbing.cur

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

536
Mk0.Software.ImageSorter/Main.Designer.cs generated

@ -0,0 +1,536 @@ @@ -0,0 +1,536 @@
namespace Mk0.Software.ImageSorter
{
partial class Main
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Vom Windows Form-Designer generierter Code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
this.pictureBox = new System.Windows.Forms.PictureBox();
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
this.toolStripMenuItemCropImage = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemEditImage = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemOpenExplorer = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItemImageDetails = new System.Windows.Forms.ToolStripMenuItem();
this.buttonPfad = new System.Windows.Forms.Button();
this.labelQuellPath = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.buttonQuellPfad = new System.Windows.Forms.Button();
this.labelCounter = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.labelZielPath = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.labelNoTargets = new System.Windows.Forms.Label();
this.buttonJumpOver = new System.Windows.Forms.Button();
this.buttonUndo = new System.Windows.Forms.Button();
this.buttonDeleteImage = new System.Windows.Forms.Button();
this.buttonRotate90 = new System.Windows.Forms.Button();
this.buttonRotate180 = new System.Windows.Forms.Button();
this.buttonRotate270 = new System.Windows.Forms.Button();
this.buttonMirrorHorizontal = new System.Windows.Forms.Button();
this.buttonMirrorVertikal = new System.Windows.Forms.Button();
this.buttonZoom100 = new System.Windows.Forms.Button();
this.buttonZoomAuto = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.labelNoImages = new System.Windows.Forms.Label();
this.labelZoom = new System.Windows.Forms.Label();
this.panel3 = new System.Windows.Forms.Panel();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
this.contextMenuStrip.SuspendLayout();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.panel2.SuspendLayout();
this.panel1.SuspendLayout();
this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// pictureBox
//
this.pictureBox.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.pictureBox.BackColor = System.Drawing.SystemColors.Control;
this.pictureBox.ContextMenuStrip = this.contextMenuStrip;
this.pictureBox.ImageLocation = "";
this.pictureBox.Location = new System.Drawing.Point(0, 0);
this.pictureBox.Name = "pictureBox";
this.pictureBox.Size = new System.Drawing.Size(682, 526);
this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox.TabIndex = 0;
this.pictureBox.TabStop = false;
this.pictureBox.LoadCompleted += new System.ComponentModel.AsyncCompletedEventHandler(this.PictureBox_LoadCompleted);
this.pictureBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.PictureBox_MouseDown);
this.pictureBox.MouseEnter += new System.EventHandler(this.PictureBox_MouseEnter);
this.pictureBox.MouseLeave += new System.EventHandler(this.PictureBox_MouseLeave);
this.pictureBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.PictureBox_MouseMove);
this.pictureBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PictureBox_MouseUp);
//
// contextMenuStrip
//
this.contextMenuStrip.ImageScalingSize = new System.Drawing.Size(32, 32);
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripMenuItemCropImage,
this.toolStripMenuItemEditImage,
this.toolStripMenuItemOpenExplorer,
this.toolStripMenuItemImageDetails});
this.contextMenuStrip.Name = "contextMenuStrip";
this.contextMenuStrip.Size = new System.Drawing.Size(196, 92);
//
// toolStripMenuItemCropImage
//
this.toolStripMenuItemCropImage.Name = "toolStripMenuItemCropImage";
this.toolStripMenuItemCropImage.Size = new System.Drawing.Size(195, 22);
this.toolStripMenuItemCropImage.Text = "Bild zuschneiden (F2)";
this.toolStripMenuItemCropImage.Click += new System.EventHandler(this.BildZuschneidenToolStripMenuItem_Click);
//
// toolStripMenuItemEditImage
//
this.toolStripMenuItemEditImage.Name = "toolStripMenuItemEditImage";
this.toolStripMenuItemEditImage.Size = new System.Drawing.Size(195, 22);
this.toolStripMenuItemEditImage.Text = "Bild bearbeiten (F3)";
this.toolStripMenuItemEditImage.Click += new System.EventHandler(this.ToolStripMenuItemEditImage_Click);
//
// toolStripMenuItemOpenExplorer
//
this.toolStripMenuItemOpenExplorer.Name = "toolStripMenuItemOpenExplorer";
this.toolStripMenuItemOpenExplorer.Size = new System.Drawing.Size(195, 22);
this.toolStripMenuItemOpenExplorer.Text = "Speicherort öffnen (F4)";
this.toolStripMenuItemOpenExplorer.Click += new System.EventHandler(this.ToolStripMenuItemOpenExplorer_Click);
//
// toolStripMenuItemImageDetails
//
this.toolStripMenuItemImageDetails.Name = "toolStripMenuItemImageDetails";
this.toolStripMenuItemImageDetails.Size = new System.Drawing.Size(195, 22);
this.toolStripMenuItemImageDetails.Text = "Bildeigenschaften (F5)";
this.toolStripMenuItemImageDetails.Click += new System.EventHandler(this.ToolStripMenuItemImageDetails_Click);
//
// buttonPfad
//
this.buttonPfad.Location = new System.Drawing.Point(6, 18);
this.buttonPfad.Name = "buttonPfad";
this.buttonPfad.Size = new System.Drawing.Size(88, 22);
this.buttonPfad.TabIndex = 1;
this.buttonPfad.Text = "Einstellungen";
this.buttonPfad.UseVisualStyleBackColor = true;
this.buttonPfad.Click += new System.EventHandler(this.ButtonSettings_Click);
//
// labelQuellPath
//
this.labelQuellPath.AutoSize = true;
this.labelQuellPath.ForeColor = System.Drawing.Color.SteelBlue;
this.labelQuellPath.Location = new System.Drawing.Point(6, 72);
this.labelQuellPath.Name = "labelQuellPath";
this.labelQuellPath.Size = new System.Drawing.Size(76, 13);
this.labelQuellPath.TabIndex = 2;
this.labelQuellPath.Text = "C:/dummypfad";
//
// groupBox1
//
this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.groupBox1.Controls.Add(this.buttonQuellPfad);
this.groupBox1.Controls.Add(this.labelCounter);
this.groupBox1.Controls.Add(this.buttonPfad);
this.groupBox1.Controls.Add(this.labelQuellPath);
this.groupBox1.Location = new System.Drawing.Point(694, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(262, 91);
this.groupBox1.TabIndex = 3;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Informationen";
//
// buttonQuellPfad
//
this.buttonQuellPfad.Location = new System.Drawing.Point(6, 46);
this.buttonQuellPfad.Name = "buttonQuellPfad";
this.buttonQuellPfad.Size = new System.Drawing.Size(250, 23);
this.buttonQuellPfad.TabIndex = 4;
this.buttonQuellPfad.Text = "Quellpfad wählen";
this.buttonQuellPfad.UseVisualStyleBackColor = true;
this.buttonQuellPfad.Click += new System.EventHandler(this.ButtonQuellPfad_Click);
//
// labelCounter
//
this.labelCounter.AutoSize = true;
this.labelCounter.ForeColor = System.Drawing.Color.Gray;
this.labelCounter.Location = new System.Drawing.Point(102, 12);
this.labelCounter.Name = "labelCounter";
this.labelCounter.Size = new System.Drawing.Size(94, 13);
this.labelCounter.TabIndex = 3;
this.labelCounter.Text = "keine Bildaktionen";
//
// groupBox2
//
this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.groupBox2.Controls.Add(this.labelZielPath);
this.groupBox2.Controls.Add(this.panel2);
this.groupBox2.Controls.Add(this.buttonJumpOver);
this.groupBox2.Controls.Add(this.buttonUndo);
this.groupBox2.Location = new System.Drawing.Point(694, 109);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(262, 423);
this.groupBox2.TabIndex = 4;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Ziele";
//
// labelZielPath
//
this.labelZielPath.AutoSize = true;
this.labelZielPath.ForeColor = System.Drawing.Color.SteelBlue;
this.labelZielPath.Location = new System.Drawing.Point(6, 16);
this.labelZielPath.Name = "labelZielPath";
this.labelZielPath.Size = new System.Drawing.Size(168, 13);
this.labelZielPath.TabIndex = 6;
this.labelZielPath.Text = "Zielpfad in Einstellungen wählen...";
//
// panel2
//
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.panel2.AutoScroll = true;
this.panel2.Controls.Add(this.labelNoTargets);
this.panel2.Location = new System.Drawing.Point(3, 90);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(258, 327);
this.panel2.TabIndex = 5;
this.panel2.MouseEnter += new System.EventHandler(this.Panel2_MouseEnter);
this.panel2.MouseLeave += new System.EventHandler(this.PictureBox_MouseLeave);
//
// labelNoTargets
//
this.labelNoTargets.AutoSize = true;
this.labelNoTargets.ForeColor = System.Drawing.Color.Maroon;
this.labelNoTargets.Location = new System.Drawing.Point(19, 10);
this.labelNoTargets.Name = "labelNoTargets";
this.labelNoTargets.Size = new System.Drawing.Size(198, 91);
this.labelNoTargets.TabIndex = 0;
this.labelNoTargets.Text = "Keine Unterordner im Zielpfad gefunden.\r\n\r\nBilder können nur in Unterordner des\r\n" +
"Zielpfades verschoben werden.\r\n\r\nWählen Sie einen anderen Zielpfad\r\nin den Einst" +
"ellungen.";
//
// buttonJumpOver
//
this.buttonJumpOver.Enabled = false;
this.buttonJumpOver.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.buttonJumpOver.Location = new System.Drawing.Point(6, 32);
this.buttonJumpOver.Name = "buttonJumpOver";
this.buttonJumpOver.Size = new System.Drawing.Size(250, 23);
this.buttonJumpOver.TabIndex = 1;
this.buttonJumpOver.Text = "Weiter-li. Maus / Zurück-re. Maus)";
this.buttonJumpOver.UseVisualStyleBackColor = true;
this.buttonJumpOver.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ButtonJumpOver_Click);
//
// buttonUndo
//
this.buttonUndo.Enabled = false;
this.buttonUndo.Location = new System.Drawing.Point(6, 61);
this.buttonUndo.Name = "buttonUndo";
this.buttonUndo.Size = new System.Drawing.Size(250, 23);
this.buttonUndo.TabIndex = 2;
this.buttonUndo.Text = "Rückgängig (letzte Bearbeitung)";
this.buttonUndo.UseVisualStyleBackColor = true;
this.buttonUndo.Click += new System.EventHandler(this.ButtonUndo_Click);
//
// buttonDeleteImage
//
this.buttonDeleteImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.buttonDeleteImage.Location = new System.Drawing.Point(6, 538);
this.buttonDeleteImage.Name = "buttonDeleteImage";
this.buttonDeleteImage.Size = new System.Drawing.Size(100, 23);
this.buttonDeleteImage.TabIndex = 5;
this.buttonDeleteImage.Text = "Löschen";
this.buttonDeleteImage.UseVisualStyleBackColor = true;
this.buttonDeleteImage.Click += new System.EventHandler(this.ImageDelete);
//
// buttonRotate90
//
this.buttonRotate90.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.buttonRotate90.Location = new System.Drawing.Point(121, 538);
this.buttonRotate90.Name = "buttonRotate90";
this.buttonRotate90.Size = new System.Drawing.Size(100, 23);
this.buttonRotate90.TabIndex = 6;
this.buttonRotate90.Tag = "90";
this.buttonRotate90.Text = "Drehen 90°";
this.buttonRotate90.UseVisualStyleBackColor = true;
this.buttonRotate90.Click += new System.EventHandler(this.ImageRotate);
//
// buttonRotate180
//
this.buttonRotate180.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.buttonRotate180.Location = new System.Drawing.Point(227, 538);
this.buttonRotate180.Name = "buttonRotate180";
this.buttonRotate180.Size = new System.Drawing.Size(100, 23);
this.buttonRotate180.TabIndex = 7;
this.buttonRotate180.Tag = "180";
this.buttonRotate180.Text = "Drehen 180°";
this.buttonRotate180.UseVisualStyleBackColor = true;
this.buttonRotate180.Click += new System.EventHandler(this.ImageRotate);
//
// buttonRotate270
//
this.buttonRotate270.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.buttonRotate270.Location = new System.Drawing.Point(333, 538);
this.buttonRotate270.Name = "buttonRotate270";
this.buttonRotate270.Size = new System.Drawing.Size(100, 23);
this.buttonRotate270.TabIndex = 8;
this.buttonRotate270.Tag = "270";
this.buttonRotate270.Text = "Drehen 270°";
this.buttonRotate270.UseVisualStyleBackColor = true;
this.buttonRotate270.Click += new System.EventHandler(this.ImageRotate);
//
// buttonMirrorHorizontal
//
this.buttonMirrorHorizontal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.buttonMirrorHorizontal.Location = new System.Drawing.Point(448, 538);
this.buttonMirrorHorizontal.Name = "buttonMirrorHorizontal";
this.buttonMirrorHorizontal.Size = new System.Drawing.Size(100, 23);
this.buttonMirrorHorizontal.TabIndex = 9;
this.buttonMirrorHorizontal.Tag = "y";
this.buttonMirrorHorizontal.Text = "Spiegeln horiz.";
this.buttonMirrorHorizontal.UseVisualStyleBackColor = true;
this.buttonMirrorHorizontal.Click += new System.EventHandler(this.ImageMirror);
//
// buttonMirrorVertikal
//
this.buttonMirrorVertikal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.buttonMirrorVertikal.Location = new System.Drawing.Point(554, 538);
this.buttonMirrorVertikal.Name = "buttonMirrorVertikal";
this.buttonMirrorVertikal.Size = new System.Drawing.Size(100, 23);
this.buttonMirrorVertikal.TabIndex = 10;
this.buttonMirrorVertikal.Tag = "x";
this.buttonMirrorVertikal.Text = "Spiegeln vertikal";
this.buttonMirrorVertikal.UseVisualStyleBackColor = true;
this.buttonMirrorVertikal.Click += new System.EventHandler(this.ImageMirror);
//
// buttonZoom100
//
this.buttonZoom100.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonZoom100.Location = new System.Drawing.Point(712, 538);
this.buttonZoom100.Name = "buttonZoom100";
this.buttonZoom100.Size = new System.Drawing.Size(100, 23);
this.buttonZoom100.TabIndex = 11;
this.buttonZoom100.Tag = "100";
this.buttonZoom100.Text = "Zoom 100%";
this.buttonZoom100.UseVisualStyleBackColor = true;
this.buttonZoom100.Click += new System.EventHandler(this.Zoom);
//
// buttonZoomAuto
//
this.buttonZoomAuto.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonZoomAuto.Location = new System.Drawing.Point(818, 538);
this.buttonZoomAuto.Name = "buttonZoomAuto";
this.buttonZoomAuto.Size = new System.Drawing.Size(100, 23);
this.buttonZoomAuto.TabIndex = 12;
this.buttonZoomAuto.Tag = "auto";
this.buttonZoomAuto.Text = "Zoom Auto";
this.buttonZoomAuto.UseVisualStyleBackColor = true;
this.buttonZoomAuto.Click += new System.EventHandler(this.Zoom);
//
// panel1
//
this.panel1.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.panel1.BackColor = System.Drawing.SystemColors.Control;
this.panel1.Controls.Add(this.labelNoImages);
this.panel1.Controls.Add(this.pictureBox);
this.panel1.Location = new System.Drawing.Point(6, 6);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(682, 526);
this.panel1.TabIndex = 3;
this.panel1.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.ZoomInOut);
//
// labelNoImages
//
this.labelNoImages.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.labelNoImages.Font = new System.Drawing.Font("Microsoft Sans Serif", 13.875F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelNoImages.ForeColor = System.Drawing.Color.Maroon;
this.labelNoImages.Location = new System.Drawing.Point(0, 0);
this.labelNoImages.Name = "labelNoImages";
this.labelNoImages.Size = new System.Drawing.Size(682, 526);
this.labelNoImages.TabIndex = 1;
this.labelNoImages.Text = "Keine Bilder im aktuellen Pfad vorhanden.\r\nBitte den Pfad ändern, um Bilder zu so" +
"rtieren.\r\nErlaubte Dateiformate sind (JPG, PNG, GIF, BMP, TIF).";
this.labelNoImages.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// labelZoom
//
this.labelZoom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.labelZoom.AutoSize = true;
this.labelZoom.Location = new System.Drawing.Point(924, 543);
this.labelZoom.Name = "labelZoom";
this.labelZoom.Size = new System.Drawing.Size(18, 13);
this.labelZoom.TabIndex = 13;
this.labelZoom.Text = "x1";
//
// panel3
//
this.panel3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.panel3.BackColor = System.Drawing.SystemColors.Highlight;
this.panel3.Controls.Add(this.pictureBox2);
this.panel3.Controls.Add(this.label2);
this.panel3.Controls.Add(this.label1);
this.panel3.Controls.Add(this.pictureBox1);
this.panel3.Location = new System.Drawing.Point(0, -52);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(688, 52);
this.panel3.TabIndex = 2;
//
// pictureBox2
//
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.pictureBox2.Location = new System.Drawing.Point(634, 3);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(51, 47);
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox2.TabIndex = 3;
this.pictureBox2.TabStop = false;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.Location = new System.Drawing.Point(56, 27);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(194, 16);
this.label2.TabIndex = 2;
this.label2.Text = "\"Pfadangabe\" verschoben.";
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.Location = new System.Drawing.Point(57, 7);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(241, 16);
this.label1.TabIndex = 1;
this.label1.Text = "Bild \"Dateiname\" erfolgreich nach";
//
// pictureBox1
//
this.pictureBox1.Location = new System.Drawing.Point(3, 3);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(48, 46);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// Main
//
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
this.ClientSize = new System.Drawing.Size(967, 566);
this.Controls.Add(this.panel3);
this.Controls.Add(this.labelZoom);
this.Controls.Add(this.panel1);
this.Controls.Add(this.buttonZoomAuto);
this.Controls.Add(this.buttonZoom100);
this.Controls.Add(this.buttonMirrorVertikal);
this.Controls.Add(this.buttonMirrorHorizontal);
this.Controls.Add(this.buttonRotate270);
this.Controls.Add(this.buttonRotate180);
this.Controls.Add(this.buttonRotate90);
this.Controls.Add(this.buttonDeleteImage);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.KeyPreview = true;
this.MinimumSize = new System.Drawing.Size(983, 605);
this.Name = "Main";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Image Sorter v1.26 | © 2015-2019 by manuelkamper.com";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Main_FormClosing);
this.Shown += new System.EventHandler(this.Main_Shown);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Main_KeyDown);
this.Resize += new System.EventHandler(this.Main_ResizeEnd);
((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
this.contextMenuStrip.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
this.panel1.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PictureBox pictureBox;
private System.Windows.Forms.Button buttonPfad;
private System.Windows.Forms.Label labelQuellPath;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Label labelNoTargets;
private System.Windows.Forms.Button buttonJumpOver;
private System.Windows.Forms.Label labelCounter;
private System.Windows.Forms.Button buttonUndo;
private System.Windows.Forms.Button buttonDeleteImage;
private System.Windows.Forms.Button buttonRotate90;
private System.Windows.Forms.Button buttonRotate180;
private System.Windows.Forms.Button buttonRotate270;
private System.Windows.Forms.Button buttonMirrorHorizontal;
private System.Windows.Forms.Button buttonMirrorVertikal;
private System.Windows.Forms.Button buttonZoom100;
private System.Windows.Forms.Button buttonZoomAuto;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label labelZoom;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemEditImage;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemOpenExplorer;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemImageDetails;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label labelNoImages;
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.PictureBox pictureBox2;
private System.Windows.Forms.ToolStripMenuItem toolStripMenuItemCropImage;
private System.Windows.Forms.Button buttonQuellPfad;
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog;
private System.Windows.Forms.Label labelZielPath;
}
}

1118
Mk0.Software.ImageSorter/Main.cs

File diff suppressed because it is too large Load Diff

3622
Mk0.Software.ImageSorter/Main.resx

File diff suppressed because it is too large Load Diff

255
Mk0.Software.ImageSorter/Mk0.Software.ImageSorter.csproj

@ -0,0 +1,255 @@ @@ -0,0 +1,255 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{1CCA2FD2-7F83-4CE6-8228-5267038D41A5}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Image_Sorter</RootNamespace>
<AssemblyName>Image Sorter</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<IsWebBootstrapper>false</IsWebBootstrapper>
<SccProjectName>Svn</SccProjectName>
<SccLocalPath>Svn</SccLocalPath>
<SccAuxPath>Svn</SccAuxPath>
<SccProvider>SubversionScc</SccProvider>
<TargetFrameworkProfile />
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<SupportUrl>https://www.manuelkamper.com</SupportUrl>
<ErrorReportUrl>https://www.manuelkamper.com</ErrorReportUrl>
<ProductName>Image Sorter</ProductName>
<PublisherName>manuelkamper.com</PublisherName>
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.25.0.0</ApplicationVersion>
<UseApplicationTrust>true</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<ExcludeDeploymentUrl>true</ExcludeDeploymentUrl>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>image.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<ManifestCertificateThumbprint>7A972D3A5C0BDCC15CDE5DB29DC790248241BB58</ManifestCertificateThumbprint>
</PropertyGroup>
<PropertyGroup>
<ManifestKeyFile>Image Sorter_TemporaryKey.pfx</ManifestKeyFile>
</PropertyGroup>
<PropertyGroup>
<GenerateManifests>true</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<SignManifests>false</SignManifests>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.VisualBasic" />
<Reference Include="Mk0.GUI.Banner">
<HintPath>..\Mk0.GUI.Banner.dll</HintPath>
</Reference>
<Reference Include="Mk0.Tools.Calculation">
<HintPath>..\Mk0.Tools.Calculation.dll</HintPath>
</Reference>
<Reference Include="Mk0.Tools.Images">
<HintPath>..\Mk0.Tools.Images.dll</HintPath>
</Reference>
<Reference Include="Mk0.Tools.Randomization">
<HintPath>..\Mk0.Tools.Randomization.dll</HintPath>
</Reference>
<Reference Include="Mk0.Tools.SingleInstance">
<HintPath>..\Mk0.Tools.SingleInstance.dll</HintPath>
</Reference>
<Reference Include="RubberBandControl">
<HintPath>..\RubberBandControl.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Cropper.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Cropper.Designer.cs">
<DependentUpon>Cropper.cs</DependentUpon>
</Compile>
<Compile Include="Main.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Main.Designer.cs">
<DependentUpon>Main.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Settings.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Settings.Designer.cs">
<DependentUpon>Settings.cs</DependentUpon>
</Compile>
<Compile Include="Vergleicher.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Vergleicher.Designer.cs">
<DependentUpon>Vergleicher.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="Cropper.resx">
<DependentUpon>Cropper.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Main.resx">
<DependentUpon>Main.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="Settings.resx">
<DependentUpon>Settings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Vergleicher.resx">
<DependentUpon>Vergleicher.cs</DependentUpon>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="Resources\bmp.ico" />
<Content Include="Resources\gif.ico" />
<Content Include="image.ico" />
<Content Include="Cursors\grab.cur" />
<Content Include="Cursors\grabbing.cur" />
<Content Include="Resources\jpeg.ico" />
<Content Include="Resources\jpg.ico" />
<Content Include="Resources\png.ico" />
<Content Include="Resources\tif.ico" />
<Content Include="Resources\tiff.ico" />
<None Include="Resources\crop.png" />
<None Include="Resources\undo.png" />
<None Include="Resources\move.png" />
<None Include="Resources\delete.png" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<FileAssociation Include=".bmp">
<Visible>False</Visible>
<Description>BMP</Description>
<Progid>3</Progid>
<DefaultIcon>Resources\bmp.ico</DefaultIcon>
</FileAssociation>
<FileAssociation Include=".gif">
<Visible>False</Visible>
<Description>GIF</Description>
<Progid>1</Progid>
<DefaultIcon>Resources\gif.ico</DefaultIcon>
</FileAssociation>
<FileAssociation Include=".jpeg">
<Visible>False</Visible>
<Description>JPEG</Description>
<Progid>5</Progid>
<DefaultIcon>Resources\jpeg.ico</DefaultIcon>
</FileAssociation>
<FileAssociation Include=".jpg">
<Visible>False</Visible>
<Description>JPG</Description>
<Progid>2</Progid>
<DefaultIcon>Resources\jpg.ico</DefaultIcon>
</FileAssociation>
<FileAssociation Include=".png">
<Visible>False</Visible>
<Description>PNG</Description>
<Progid>4</Progid>
<DefaultIcon>Resources\png.ico</DefaultIcon>
</FileAssociation>
<FileAssociation Include=".tif">
<Visible>False</Visible>
<Description>TIF</Description>
<Progid>6</Progid>
<DefaultIcon>Resources\tif.ico</DefaultIcon>
</FileAssociation>
<FileAssociation Include=".tiff">
<Visible>False</Visible>
<Description>TIFF</Description>
<Progid>7</Progid>
<DefaultIcon>Resources\tiff.ico</DefaultIcon>
</FileAssociation>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

20
Mk0.Software.ImageSorter/Program.cs

@ -0,0 +1,20 @@ @@ -0,0 +1,20 @@
using System;
using System.Windows.Forms;
using Mk0.Tools.SingleInstance;
namespace Mk0.Software.ImageSorter
{
static class Program
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
[STAThread]
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
SingleApplication.Run(args.Length == 0 ? new Main(string.Empty) : new Main(args[0]), Mk0.Software.ImageSorter.Properties.Settings.Default.singleInstance);
}
}
}

36
Mk0.Software.ImageSorter/Properties/AssemblyInfo.cs

@ -0,0 +1,36 @@ @@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: AssemblyTitle("Image Sorter")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("manuelkamper.com")]
[assembly: AssemblyProduct("ImageSorter")]
[assembly: AssemblyCopyright("Copyright © 2015-2019 by manuelkamper.com")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
// COM zugreifen müssen, legen Sie das ComVisible-Attribut für diesen Typ auf "true" fest.
[assembly: ComVisible(false)]
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[assembly: Guid("01af902b-e8fb-46da-b1d2-46a4bb364546")]
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.26.*")]
//[assembly: AssemblyFileVersion("1.6.0.0")]

123
Mk0.Software.ImageSorter/Properties/Resources.Designer.cs generated

@ -0,0 +1,123 @@ @@ -0,0 +1,123 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Mk0.Software.ImageSorter.Properties {
using System;
/// <summary>
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
/// </summary>
// Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Image_Sorter.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
/// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap crop {
get {
object obj = ResourceManager.GetObject("crop", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap delete {
get {
object obj = ResourceManager.GetObject("delete", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
/// </summary>
internal static byte[] grab {
get {
object obj = ResourceManager.GetObject("grab", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Byte[].
/// </summary>
internal static byte[] grabbing {
get {
object obj = ResourceManager.GetObject("grabbing", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap move {
get {
object obj = ResourceManager.GetObject("move", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap undo {
get {
object obj = ResourceManager.GetObject("undo", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

139
Mk0.Software.ImageSorter/Properties/Resources.resx

@ -0,0 +1,139 @@ @@ -0,0 +1,139 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="crop" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\crop.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="delete" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\delete.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="grab" type="System.Resources.ResXFileRef, System.Windows.Forms">
<