Post by madeyefire on Mar 24, 2020 16:42:52 GMT -5
Hi, I am attempting to upload a png into a forehead skin detail package. and I am receiving this error message:
I am unable to reply to the bug forum, possibly because I am new. I am attempting to follow this tutorial: sims4studio.com/thread/4873/create-skin-detail-basics-beginners
Sims 4 Studio 1.3.0.9 (Apple Blossom)
System.Exception: Invalid parameters to context creation
at CoreGraphics.CGContext.set_Handle (System.IntPtr value) [0x00022] in /Library/Frameworks/Xamarin.Mac.framework/Versions/6.10.0.17/src/Xamarin.Mac/CoreGraphics/CGContext.cs:164
at CoreGraphics.CGBitmapContext..ctor (System.Byte[] data, System.nint width, System.nint height, System.nint bitsPerComponent, System.nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGImageAlphaInfo bitmapInfo) [0x0001d] in /Library/Frameworks/Xamarin.Mac.framework/Versions/6.10.0.17/src/Xamarin.Mac/CoreGraphics/CGBitmapContext.cs:79
at S4Studio.MacBitmap.ResizeCoreGraphics (System.Int32 width, System.Int32 height) [0x0003a] in /Users/a/thes4studio/TheS4Studio/S4Studio.Mac/Core/Images/Compression/MacBitmap.cs:127
at S4Studio.MacBitmap.Resize (System.Int32 width, System.Int32 height) [0x00001] in /Users/a/thes4studio/TheS4Studio/S4Studio.Mac/Core/Images/Compression/MacBitmap.cs:114
at S4Studio.AMDCompress.CompressImage (S4Studio.IBitmap bmp, System.Boolean requiresAlpha) [0x00183] in /Users/a/thes4studio/TheS4Studio/S4Studio.Mac/Core/Images/Compression/AMDCompress.cs:153
at S4Studio.TC.ConvertData (System.String src_ext, System.String dest_ext, System.Byte[] convert_d, System.Boolean requiresAlpha) [0x000cd] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/Core/TextureCompressBase.cs:155
at S4Studio.TC.ConvertData (System.String filename, System.String dest_ext, System.Boolean requiresAlpha) [0x00022] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/Core/TextureCompressBase.cs:121
at S4Studio.ViewModels.Generic.Sims4SwatchContent+<>c__DisplayClass66_0.<ExecuteImportTexture>b__0 () [0x00001] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/ViewModels/Generic/Sims4SwatchContent.cs:367
at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00016] in /Users/a/thes4studio/TheS4Studio/S4Studio.Mac/UI/Core/S4SWindow.cs:171
System.Exception: Invalid parameters to context creation
at CoreGraphics.CGContext.set_Handle (System.IntPtr value) [0x00022] in /Library/Frameworks/Xamarin.Mac.framework/Versions/6.10.0.17/src/Xamarin.Mac/CoreGraphics/CGContext.cs:164
at CoreGraphics.CGBitmapContext..ctor (System.Byte[] data, System.nint width, System.nint height, System.nint bitsPerComponent, System.nint bytesPerRow, CoreGraphics.CGColorSpace colorSpace, CoreGraphics.CGImageAlphaInfo bitmapInfo) [0x0001d] in /Library/Frameworks/Xamarin.Mac.framework/Versions/6.10.0.17/src/Xamarin.Mac/CoreGraphics/CGBitmapContext.cs:79
at S4Studio.MacBitmap.ResizeCoreGraphics (System.Int32 width, System.Int32 height) [0x0003a] in /Users/a/thes4studio/TheS4Studio/S4Studio.Mac/Core/Images/Compression/MacBitmap.cs:127
at S4Studio.MacBitmap.Resize (System.Int32 width, System.Int32 height) [0x00001] in /Users/a/thes4studio/TheS4Studio/S4Studio.Mac/Core/Images/Compression/MacBitmap.cs:114
at S4Studio.AMDCompress.CompressImage (S4Studio.IBitmap bmp, System.Boolean requiresAlpha) [0x00183] in /Users/a/thes4studio/TheS4Studio/S4Studio.Mac/Core/Images/Compression/AMDCompress.cs:153
at S4Studio.TC.ConvertData (System.String src_ext, System.String dest_ext, System.Byte[] convert_d, System.Boolean requiresAlpha) [0x000cd] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/Core/TextureCompressBase.cs:155
at S4Studio.TC.ConvertData (System.String filename, System.String dest_ext, System.Boolean requiresAlpha) [0x00022] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/Core/TextureCompressBase.cs:121
at S4Studio.ViewModels.Generic.Sims4SwatchContent+<>c__DisplayClass66_0.<ExecuteImportTexture>b__0 () [0x00001] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/ViewModels/Generic/Sims4SwatchContent.cs:367
at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00016] in /Users/a/thes4studio/TheS4Studio/S4Studio.Mac/UI/Core/S4SWindow.cs:171