We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 066c6bc commit f99c545Copy full SHA for f99c545
AutoCrispy/AutoCrispy/Form1.vb
@@ -533,7 +533,7 @@ Public Class Form1
533
If LoadedSettings.ExpertSettings.SeamlessMode > 0 Then
534
For Each NewImage In NewImages
535
If File.Exists(LoadedSettings.Paths.OutputPath & "\" & Path.GetFileName(NewImage)) Then
536
- Dim ScaleVal As Integer = LoadedSettings.ExpertSettings.SeamlessScale * 16
+ Dim ScaleVal As Integer = LoadedSettings.ExpertSettings.SeamlessScale * LoadedSettings.ExpertSettings.SeamlessMargin
537
Dim SourceImage As Bitmap = Image.FromFile(LoadedSettings.Paths.OutputPath & "\" & Path.GetFileName(NewImage))
538
Dim TrimmedImage As New Bitmap(SourceImage)
539
SourceImage.Dispose()
@@ -902,4 +902,4 @@ Public Class Form1
902
903
#End Region
904
905
-End Class
+End Class
0 commit comments