Bxaa
Bxaa
> UABEA doesn't support mipmaps > UABE normally generated mipmaps As far as I remember (I do not have the UABE source code now) All PNG's converted to DDS with...
UDP (offtop) Possible issue: Need excepting exporting some DDS textures (3d\cube, but stored as 2D) Exporting and reimport will broke this textures. When I have time, I'll take a look...
textoolwrap.cpp ``` crn_mipmap_params mip_params; mip_params.m_gamma_filtering = true; mip_params.m_mode = cCRNMipModeNoMips; //cCRNMipModeGenerateMips ``` Need check for **m_mipCount** in Asset Data for current texture m_mipCount = 1 then mip_params.m_mode = cCRNMipModeNoMips (no...
I mean Native AOT (https://github.com/dotnet/runtimelab/tree/feature/NativeAOT) Used 6.0.0-rc.1.21373.1 (other versions with parallel invoke implementation\type issue) FOR TEST: (vs2022) https://drive.google.com/file/d/16pLGLsXNfGq0zZYd-wLDqELkn48neVB4/view?usp=sharing Need check all your pinvoke's: I think issue can be fixed by...
Don't forget copy native dll's to native exe And.. yes, all SkiaSharp.dll functions work fine after AOT except PDFtoImage.Conversion.GetPageCount and PDFtoImage.Conversion.ToImage (Same issue with PDFtoPNG nuget)
Thx, for testing. I'll try to investigate it. I'll try to figure it out (it will be pretty hard to do...) I'll let you know if I succeed.
investigating (unmanaged PDFium + AOT cause access violation reading)
Good news. I was able to fix it It's pretty simple and will always work I'll write the code here later (I'll check again)
You need pdfium.dll 4648.0.0 (native PDFium.x64 without V8 or XFA support) and x64 libSkiaSharp.dll (look in nuget both) (AOT only support x64) Both should be in same folder with native...
@[sungaila](https://github.com/sungaila) ``` static NativeMethods() { // Load the platform dependent Pdfium.dll if it exist. var workingDirectory = Assembly.GetExecutingAssembly().GetName(false).CodeBase ?? Process.GetCurrentProcess().MainModule!.FileName!; LoadNativeLibrary(Path.GetDirectoryName(new Uri(workingDirectory).LocalPath)!); } ``` In this case all dlls search...