Automatic rotation v1
This commit is contained in:
parent
bf760b6da4
commit
1ac753e6ff
6 changed files with 217 additions and 28 deletions
|
|
@ -5,8 +5,7 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ImageSharp;
|
||||
using ImageSharp.Formats;
|
||||
using ImageSharp.Processing.Processors;
|
||||
|
||||
|
||||
namespace CatalogLib
|
||||
{
|
||||
|
|
@ -44,7 +43,10 @@ namespace CatalogLib
|
|||
case 2:
|
||||
break;
|
||||
case 3:
|
||||
image.Rotate(180);
|
||||
//image.Rotate(180f);
|
||||
|
||||
//image.Rotate(90);
|
||||
image.Rotate(180f);
|
||||
break;
|
||||
case 4:
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue