mirror of
https://github.com/ciromattia/kcc
synced 2025-12-16 03:06:33 +00:00
Fixed Other profile
This commit is contained in:
@@ -1065,8 +1065,8 @@ def checkOptions():
|
|||||||
X = options.customwidth
|
X = options.customwidth
|
||||||
if options.customheight != 0:
|
if options.customheight != 0:
|
||||||
Y = options.customheight
|
Y = options.customheight
|
||||||
newProfile = ("Custom", (X, Y), image.ProfileData.Palette16, image.ProfileData.Profiles[options.profile][3],
|
newProfile = ("Custom", (int(X), int(Y)), image.ProfileData.Palette16,
|
||||||
(int(X*1.5), int(Y*1.5)))
|
image.ProfileData.Profiles[options.profile][3], (int(int(X)*1.5), int(int(Y)*1.5)))
|
||||||
image.ProfileData.Profiles["Custom"] = newProfile
|
image.ProfileData.Profiles["Custom"] = newProfile
|
||||||
options.profile = "Custom"
|
options.profile = "Custom"
|
||||||
options.profileData = image.ProfileData.Profiles[options.profile]
|
options.profileData = image.ProfileData.Profiles[options.profile]
|
||||||
|
|||||||
Reference in New Issue
Block a user