MrG Posted January 1 Posted January 1 Funnily I can open said tiff files in QGIS, ArcGIS, GIMP and photoshop. So I doubt there's anything wrong with the files since all these apps have no problems.. And funnily - if webODM tiff saved file EPSG:3123 also paint.net can open the files.. but funnily if webODM tiff saved file WSG84 then I get the exception message as stated below. This was also with 5.0.11 but I figured let's try latest version.. however the error remains. Yes I know hear everyone saying: then why don't just just save in WSG84 and convert to EPSG:3123.. well, for whatever reason, if I do it like that it also gives me this error message.. directly downloading from ODM in EPSG:3123 it opens ... but if downloading first as WSG84 and then opening either as WSG84 or after conversin in EPSG:3123 then it doesn't.. Really puzzling me.. Exception: PaintDotNet.Imaging.ImagingComponentNotFoundException (0x88982F50): Exception of type 'PaintDotNet.Imaging.ImagingComponentNotFoundException' was thrown. (ImagingError.ComponentNotFound 0x88982F50) at PaintDotNet.Interop.ExceptionFactory.ThrowError(Int32 hr, String message, Exception innerEx) in D:\src\pdn\src_4_3_x\Windows\Interop\ExceptionFactory.cs:line 54 at PaintDotNet.Interop.ExceptionTunnel.ThrowOnErrorCold(HRESULT hr, Exception exception) in D:\src\pdn\src_4_3_x\Windows\Interop\ExceptionTunnel.cs:line 73 at PaintDotNet.Imaging.WICImagingFactory.CreateDecoderFromStream(Stream stream, BitmapDecodeOptions metadataOptions, Nullable`1& containerFormat, Nullable`1& preferredVendor) in D:\src\pdn\src_4_3_x\Windows\Imaging\WICImagingFactory.cs:line 414 at PaintDotNet.Data.WicHelpers.Load(Stream input, Nullable`1& forcedContainerFormat, Nullable`1& preferredVendor, IMetadataTranscoder metadataTranscoder) in D:\src\pdn\src_4_3_x\PaintDotNet\Data\WicHelpers.cs:line 107 at PaintDotNet.Data.TiffFileType.OnLoad(Stream input) in D:\src\pdn\src_4_3_x\PaintDotNet\Data\TiffFileType.cs:line 58 at PaintDotNet.FileType.Load(Stream input) in D:\src\pdn\src_4_3_x\Data\FileType.cs:line 491 at PaintDotNet.Functional.Func.Eval[T1,TRet](Func`2 f, T1 arg1) in D:\src\pdn\src_4_3_x\Fundamentals\Functional\Func.cs:line 60 Diagnostics: Application paint.net 5.0.12 (Stable 5.12.8735.38135) Build Date Friday, December 1, 2023 Install type Portable Language: en-US DPI 1.5 (1.50x scale) UI/Canvas GPU True Rendering GPU 🚀 Performance (NVIDIA GeForce GTX 1050) Remote session False Animations True Translucent windows True Windows Ink True OS Windows 11 Pro x64 (10.0.22631.0) Runtime .NET 7.0.14 x64 Physical Memory 32,627 MB (17,802 MB free) Paging File 55,155 MB (28,767 MB free) CPU Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz Speed ~2304 MHz Cores / Threads 4 / 8 Features SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2 Monitor 1 Resolution 3840 x 2160, 30 Hz DPI 144 (1.50x scale) Coordinates (L=0, T=0, R=3840, B=2160) Bit depth 8 Color space RgbFullGamma22NoneP709 Connected to NVIDIA GeForce GTX 1050 Monitor 2 Resolution 1920 x 1080, 60 Hz DPI 120 (1.25x scale) Coordinates (L=3840, T=1068, R=5760, B=2148) Bit depth 6 Color space RgbFullGamma22NoneP709 Connected to Intel(R) UHD Graphics 630 Video Card NVIDIA GeForce GTX 1050 Hardware Acceleration Supported Dedicated Video RAM 4,018 MB Dedicated System RAM 0 MB Shared System RAM 16,313 MB Vendor ID 0x10DE Device ID 0x1C8D Subsystem ID 0x086F1028 Revision 161 LUID 0x00013653 Flags AcgCompatible, SupportMonitoredFences, KeyedMutexConformance Graphics Preemption PixelBoundary Compute Preemption DispatchBoundary Outputs 1 Feature Level Level_12_1 Features Doubles, ComputeShadersEtc DXGI Formats A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float Buffer Precisions UInt8Normalized, UInt8NormalizedSrgb, UInt16Normalized, Float16, Float32 Maximum Bitmap Size 16384 Video Card Intel(R) UHD Graphics 630 Hardware Acceleration Supported Dedicated Video RAM 128 MB Dedicated System RAM 0 MB Shared System RAM 16,313 MB Vendor ID 0x8086 Device ID 0x3E9B Subsystem ID 0x086F1028 Revision 0 LUID 0x000132A7 Flags AcgCompatible, SupportMonitoredFences, KeyedMutexConformance Graphics Preemption TriangleBoundary Compute Preemption ThreadBoundary Outputs 1 Feature Level Level_12_1 Features Doubles, ComputeShadersEtc DXGI Formats A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float Buffer Precisions UInt8Normalized, UInt8NormalizedSrgb, UInt16Normalized, Float16, Float32 Maximum Bitmap Size 16384 Video Card Microsoft Basic Render Driver Hardware Acceleration N/A Dedicated Video RAM 0 MB Dedicated System RAM 0 MB Shared System RAM 16,313 MB Vendor ID 0x1414 Device ID 0x008C Subsystem ID 0x00000000 Revision 0 LUID 0x00013626 Flags Software, AcgCompatible, SupportMonitoredFences, KeyedMutexConformance Graphics Preemption InstructionBoundary Compute Preemption InstructionBoundary Outputs 0 Feature Level Level_12_1 Features Doubles, ComputeShadersEtc DXGI Formats A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float Buffer Precisions UInt8Normalized, UInt8NormalizedSrgb, UInt16Normalized, Float16, Float32 Maximum Bitmap Size 8388608 Managed assemblies 92 System.Private.CoreLib .\System.Private.CoreLib.dll, Version=7.0.0.0, PublicKeyToken=7cec85d7bea7798e paintdotnet .\paintdotnet.dll, Version=5.12.8735.38135 System.Runtime .\System.Runtime.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Windows.Forms .\System.Windows.Forms.dll, Version=7.0.0.0, PublicKeyToken=b77a5c561934e089 PaintDotNet.Fundamentals .\PaintDotNet.Fundamentals.dll, Version=5.12.8735.38135 System.Diagnostics.Tracing .\System.Diagnostics.Tracing.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Threading.Thread .\System.Threading.Thread.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Base .\PaintDotNet.Base.dll, Version=5.12.8735.38135 PaintDotNet.Collections .\PaintDotNet.Collections.dll, Version=5.12.8735.38135 PaintDotNet.ComponentModel .\PaintDotNet.ComponentModel.dll, Version=5.12.8735.38135 PaintDotNet.Windows .\PaintDotNet.Windows.dll, Version=5.12.8735.38135 TerraFX.Interop.Windows .\TerraFX.Interop.Windows.dll, Version=10.0.22621.2, PublicKeyToken=35b01b53313a6f7e PaintDotNet.Primitives .\PaintDotNet.Primitives.dll, Version=5.12.8735.38135 System.Collections.Concurrent .\System.Collections.Concurrent.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Runtime .\PaintDotNet.Runtime.dll, Version=5.12.8735.38135 PointerToolkit .\PointerToolkit.dll, Version=1.0.0.0 System.Threading .\System.Threading.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.SystemLayer .\PaintDotNet.SystemLayer.dll, Version=5.12.8735.38135 PaintDotNet.Systrace .\PaintDotNet.Systrace.dll, Version=5.12.8735.38135 System.Diagnostics.Process .\System.Diagnostics.Process.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Private.Uri .\System.Private.Uri.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.ComponentModel.Primitives .\System.ComponentModel.Primitives.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a WindowsBase .\WindowsBase.dll, Version=7.0.0.0, PublicKeyToken=31bf3856ad364e35 System.Windows.Forms.Primitives .\System.Windows.Forms.Primitives.dll, Version=7.0.0.0, PublicKeyToken=b77a5c561934e089 PaintDotNet.ObjectModel .\PaintDotNet.ObjectModel.dll, Version=5.12.8735.38135 System.Collections .\System.Collections.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Runtime.InteropServices .\System.Runtime.InteropServices.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Drawing.Primitives .\System.Drawing.Primitives.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a Microsoft.Win32.Primitives .\Microsoft.Win32.Primitives.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Diagnostics.TraceSource .\System.Diagnostics.TraceSource.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Text.Encoding.CodePages .\System.Text.Encoding.CodePages.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Configuration.ConfigurationManager .\System.Configuration.ConfigurationManager.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 PaintDotNet.Core .\PaintDotNet.Core.dll, Version=5.12.8735.38135 System.Collections.Specialized .\System.Collections.Specialized.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Resources .\PaintDotNet.Resources.dll, Version=5.12.8735.38135 System.Xml.ReaderWriter .\System.Xml.ReaderWriter.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Private.Xml .\System.Private.Xml.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 Newtonsoft.Json .\Newtonsoft.Json.dll, Version=13.0.0.0, PublicKeyToken=30ad4fe6b2a6aeed System.Linq.Expressions .\System.Linq.Expressions.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Net.WebClient .\System.Net.WebClient.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.ComponentModel.EventBasedAsync .\System.ComponentModel.EventBasedAsync.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.ObjectModel .\System.ObjectModel.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.ComponentModel.TypeConverter .\System.ComponentModel.TypeConverter.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Memory .\System.Memory.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Runtime.Numerics .\System.Runtime.Numerics.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Text.Encoding.Extensions .\System.Text.Encoding.Extensions.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Data .\PaintDotNet.Data.dll, Version=5.12.8735.38135 PaintDotNet.Framework .\PaintDotNet.Framework.dll, Version=5.12.8735.38135 CommunityToolkit.HighPerformance .\CommunityToolkit.HighPerformance.dll, Version=8.2.0.0, PublicKeyToken=4aff67a105548ee2 System.Threading.ThreadPool .\System.Threading.ThreadPool.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.Windows.Framework .\PaintDotNet.Windows.Framework.dll, Version=5.12.8735.38135 PaintDotNet.UI .\PaintDotNet.UI.dll, Version=5.12.8735.38135 Microsoft.Win32.Registry .\Microsoft.Win32.Registry.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Drawing.Common .\System.Drawing.Common.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 Microsoft.Win32.SystemEvents .\Microsoft.Win32.SystemEvents.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 System.Linq .\System.Linq.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Collections.Immutable .\System.Collections.Immutable.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a ComputeSharp.D2D1 .\ComputeSharp.D2D1.dll, Version=2.1.0.0, PublicKeyToken=dc35fa229f6881d8 System.Diagnostics.FileVersionInfo .\System.Diagnostics.FileVersionInfo.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PresentationFramework .\PresentationFramework.dll, Version=7.0.0.0, PublicKeyToken=31bf3856ad364e35 PaintDotNet.Windows.Core .\PaintDotNet.Windows.Core.dll, Version=5.12.8735.38135 System.ComponentModel .\System.ComponentModel.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PaintDotNet.PropertySystem .\PaintDotNet.PropertySystem.dll, Version=5.12.8735.38135 System.Xaml .\System.Xaml.dll, Version=7.0.0.0, PublicKeyToken=b77a5c561934e089 System.IO.Packaging .\System.IO.Packaging.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a PresentationCore .\PresentationCore.dll, Version=7.0.0.0, PublicKeyToken=31bf3856ad364e35 PaintDotNet.Effects.Core .\PaintDotNet.Effects.Core.dll, Version=5.12.8735.38135 DirectWriteForwarder .\DirectWriteForwarder.dll, Version=7.0.0.0, PublicKeyToken=31bf3856ad364e35 System.Runtime.Extensions .\System.Runtime.Extensions.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Diagnostics.Debug .\System.Diagnostics.Debug.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Runtime.CompilerServices.VisualC .\System.Runtime.CompilerServices.VisualC.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Collections.NonGeneric .\System.Collections.NonGeneric.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a Accessibility .\Accessibility.dll, Version=4.0.0.0, PublicKeyToken=31bf3856ad364e35 UIAutomationTypes .\UIAutomationTypes.dll, Version=7.0.0.0, PublicKeyToken=31bf3856ad364e35 System.Numerics.Vectors .\System.Numerics.Vectors.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Threading.Tasks.Parallel .\System.Threading.Tasks.Parallel.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Runtime.Loader .\System.Runtime.Loader.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a DdsFileTypePlus .\Bundled\DDSFileTypePlus\DdsFileTypePlus.dll, Version=1.12.8.0 WebPFileType .\Bundled\WebPFileType\WebPFileType.dll, Version=1.3.21.0 AvifFileType .\Bundled\AvifFileType\AvifFileType.dll, Version=1.1.27.0 PaintDotNet.Effects.Gpu .\PaintDotNet.Effects.Gpu.dll, Version=5.12.8735.38135 PaintDotNet.Effects .\PaintDotNet.Effects.dll, Version=5.12.8735.38135 PaintDotNet.Effects.Legacy .\PaintDotNet.Effects.Legacy.dll, Version=5.12.8735.38135 System.Runtime.Serialization.Formatters .\System.Runtime.Serialization.Formatters.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Text.RegularExpressions .\System.Text.RegularExpressions.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Runtime.Intrinsics .\System.Runtime.Intrinsics.dll, Version=7.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51 PhotoSauce.MagicScaler .\PhotoSauce.MagicScaler.dll, Version=0.13.2.0, PublicKeyToken=fc6b9b7b06809481 ComputeSharp.Core .\ComputeSharp.Core.dll, Version=2.1.0.0, PublicKeyToken=dc35fa229f6881d8 PointerToolkit.TerraFX.Interop.Windows .\PointerToolkit.TerraFX.Interop.Windows.dll, Version=10.0.22621.2 System.Diagnostics.StackTrace .\System.Diagnostics.StackTrace.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.Reflection.Metadata .\System.Reflection.Metadata.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a System.IO.MemoryMappedFiles .\System.IO.MemoryMappedFiles.dll, Version=7.0.0.0, PublicKeyToken=b03f5f7f11d50a3a Native modules 187 paintdotnet.exe .\paintdotnet.exe, version=5.12.8735.38135 ntdll.dll C:\Windows\SYSTEM32\ntdll.dll, version=10.0.22621.2506 (WinBuild.160101.0800) KERNEL32.DLL C:\Windows\System32\KERNEL32.DLL, version=10.0.22621.2506 (WinBuild.160101.0800) KERNELBASE.dll C:\Windows\System32\KERNELBASE.dll, version=10.0.22621.2506 (WinBuild.160101.0800) bdhkm64.dll C:\Program Files\Bitdefender\Bitdefender Security\bdhkm\dlls_266758756361913715\bdhkm64.dll, version=1.8.231.0 #0xe64f15d atcuf64.dll C:\Program Files\Bitdefender\Bitdefender Security\atcuf\dlls_266758756117651106\atcuf64.dll, version=1.61.374.0 #0x8b6a2dd1d apphelp.dll C:\Windows\SYSTEM32\apphelp.dll, version=10.0.22621.1 (WinBuild.160101.0800) SHELL32.dll C:\Windows\System32\SHELL32.dll, version=10.0.22621.2792 (WinBuild.160101.0800) msvcp_win.dll C:\Windows\System32\msvcp_win.dll, version=10.0.22621.2506 (WinBuild.160101.0800) ucrtbase.dll C:\Windows\System32\ucrtbase.dll, version=10.0.22621.2506 (WinBuild.160101.0800) USER32.dll C:\Windows\System32\USER32.dll, version=10.0.22621.1 (WinBuild.160101.0800) win32u.dll C:\Windows\System32\win32u.dll, version=10.0.22621.2861 (WinBuild.160101.0800) GDI32.dll C:\Windows\System32\GDI32.dll, version=10.0.22621.2792 (WinBuild.160101.0800) gdi32full.dll C:\Windows\System32\gdi32full.dll, version=10.0.22621.2861 (WinBuild.160101.0800) ole32.dll C:\Windows\System32\ole32.dll, version=10.0.22621.1 (WinBuild.160101.0800) combase.dll C:\Windows\System32\combase.dll, version=10.0.22621.1 (WinBuild.160101.0800) RPCRT4.dll C:\Windows\System32\RPCRT4.dll, version=10.0.22621.2506 (WinBuild.160101.0800) OLEAUT32.dll C:\Windows\System32\OLEAUT32.dll, version=10.0.22621.2506 (WinBuild.160101.0800) SHLWAPI.dll C:\Windows\System32\SHLWAPI.dll, version=10.0.22621.1 (WinBuild.160101.0800) msvcrt.dll C:\Windows\System32\msvcrt.dll, version=7.0.22621.2506 (WinBuild.160101.0800) VCRUNTIME140_1.dll .\VCRUNTIME140_1.dll, version=14.38.33130.0 VCRUNTIME140.dll .\VCRUNTIME140.dll, version=14.38.33130.0 IMM32.DLL C:\Windows\System32\IMM32.DLL, version=10.0.22621.2792 (WinBuild.160101.0800) shcore.dll C:\Windows\System32\shcore.dll, version=10.0.22621.1 (WinBuild.160101.0800) hostfxr.dll .\hostfxr.dll, version=7,0,1423,51910 @Commit: 808851b07acfa1c5c94b0d4f9fb50debedb2df70 ADVAPI32.dll C:\Windows\System32\ADVAPI32.dll, version=10.0.22621.1 (WinBuild.160101.0800) sechost.dll C:\Windows\System32\sechost.dll, version=10.0.22621.1 (WinBuild.160101.0800) hostpolicy.dll .\hostpolicy.dll, version=7,0,1423,51910 @Commit: 808851b07acfa1c5c94b0d4f9fb50debedb2df70 coreclr.dll .\coreclr.dll, version=7,0,1423,51910 @Commit: 808851b07acfa1c5c94b0d4f9fb50debedb2df70 bcryptPrimitives.dll C:\Windows\System32\bcryptPrimitives.dll, version=10.0.22621.2506 (WinBuild.160101.0800) System.Private.CoreLib.dll .\System.Private.CoreLib.dll, version=7.0.1423.51910 clrjit.dll .\clrjit.dll, version=7,0,1423,51910 @Commit: 808851b07acfa1c5c94b0d4f9fb50debedb2df70 kernel.appcore.dll C:\Windows\SYSTEM32\kernel.appcore.dll, version=10.0.22621.2715 (WinBuild.160101.0800) paintdotnet.dll .\paintdotnet.dll, version=5.12.8735.38135 System.Runtime.dll .\System.Runtime.dll, version=7.0.1423.51910 uxtheme.dll C:\Windows\system32\uxtheme.dll, version=10.0.22621.1 (WinBuild.160101.0800) System.Windows.Forms.dll .\System.Windows.Forms.dll, version=7.0.1423.52009 PaintDotNet.Fundamentals.dll .\PaintDotNet.Fundamentals.dll, version=5.12.8735.38135 System.Diagnostics.Tracing.dll .\System.Diagnostics.Tracing.dll, version=7.0.1423.51910 icu.dll C:\Windows\SYSTEM32\icu.dll, version=68, 2, 0, 10 (WinBuild.160101.0800) System.Threading.Thread.dll .\System.Threading.Thread.dll, version=7.0.1423.51910 PaintDotNet.Base.dll .\PaintDotNet.Base.dll, version=5.12.8735.38135 PaintDotNet.Collections.dll .\PaintDotNet.Collections.dll, version=5.12.8735.38135 PaintDotNet.ComponentModel.dll .\PaintDotNet.ComponentModel.dll, version=5.12.8735.38135 PaintDotNet.Windows.dll .\PaintDotNet.Windows.dll, version=5.12.8735.38135 TerraFX.Interop.Windows.dll .\TerraFX.Interop.Windows.dll, version=10.0.22621.2 PaintDotNet.Primitives.dll .\PaintDotNet.Primitives.dll, version=5.12.8735.38135 System.Collections.Concurrent.dll .\System.Collections.Concurrent.dll, version=7.0.1423.51910 PaintDotNet.Runtime.dll .\PaintDotNet.Runtime.dll, version=5.12.8735.38135 PointerToolkit.dll .\PointerToolkit.dll, version=1.0.0.0 System.Threading.dll .\System.Threading.dll, version=7.0.1423.51910 PaintDotNet.SystemLayer.dll .\PaintDotNet.SystemLayer.dll, version=5.12.8735.38135 PaintDotNet.Systrace.dll .\PaintDotNet.Systrace.dll, version=5.12.8735.38135 System.Diagnostics.Process.dll .\System.Diagnostics.Process.dll, version=7.0.1423.51910 System.Private.Uri.dll .\System.Private.Uri.dll, version=7.0.1423.51910 BCrypt.dll C:\Windows\SYSTEM32\BCrypt.dll, version=10.0.22621.1 (WinBuild.160101.0800) WindowsBase.dll .\WindowsBase.dll, version=7.0.1423.52002 System.ComponentModel.Primitives.dll .\System.ComponentModel.Primitives.dll, version=7.0.1423.51910 System.Windows.Forms.Primitives.dll .\System.Windows.Forms.Primitives.dll, version=7.0.1423.52009 PaintDotNet.ObjectModel.dll .\PaintDotNet.ObjectModel.dll, version=5.12.8735.38135 System.Collections.dll .\System.Collections.dll, version=7.0.1423.51910 System.Runtime.InteropServices.dll .\System.Runtime.InteropServices.dll, version=7.0.1423.51910 System.Drawing.Primitives.dll .\System.Drawing.Primitives.dll, version=7.0.1423.51910 Microsoft.Win32.Primitives.dll .\Microsoft.Win32.Primitives.dll, version=7.0.1423.51910 System.Diagnostics.TraceSource.dll .\System.Diagnostics.TraceSource.dll, version=7.0.1423.51910 PresentationNative_cor3.dll .\PresentationNative_cor3.dll, version=7,0,23,51604 @Commit: 562bdf3c1209b3703fde123c03fc9a2c86002f03 System.Text.Encoding.CodePages.dll .\System.Text.Encoding.CodePages.dll, version=7.0.1423.51910 System.Configuration.ConfigurationManager.dll .\System.Configuration.ConfigurationManager.dll, version=7.0.1423.51910 PaintDotNet.Core.dll .\PaintDotNet.Core.dll, version=5.12.8735.38135 System.Collections.Specialized.dll .\System.Collections.Specialized.dll, version=7.0.1423.51910 PaintDotNet.Resources.dll .\PaintDotNet.Resources.dll, version=5.12.8735.38135 System.Xml.ReaderWriter.dll .\System.Xml.ReaderWriter.dll, version=7.0.1423.51910 System.Private.Xml.dll .\System.Private.Xml.dll, version=7.0.1423.51910 Newtonsoft.Json.dll .\Newtonsoft.Json.dll, version=13.0.3.27908 System.Linq.Expressions.dll .\System.Linq.Expressions.dll, version=7.0.1423.51910 System.Net.WebClient.dll .\System.Net.WebClient.dll, version=7.0.1423.51910 System.ComponentModel.EventBasedAsync.dll .\System.ComponentModel.EventBasedAsync.dll, version=7.0.1423.51910 System.ObjectModel.dll .\System.ObjectModel.dll, version=7.0.1423.51910 System.ComponentModel.TypeConverter.dll .\System.ComponentModel.TypeConverter.dll, version=7.0.1423.51910 System.Memory.dll .\System.Memory.dll, version=7.0.1423.51910 System.Runtime.Numerics.dll .\System.Runtime.Numerics.dll, version=7.0.1423.51910 System.Text.Encoding.Extensions.dll .\System.Text.Encoding.Extensions.dll, version=7.0.1423.51910 PaintDotNet.Data.dll .\PaintDotNet.Data.dll, version=5.12.8735.38135 PaintDotNet.Framework.dll .\PaintDotNet.Framework.dll, version=5.12.8735.38135 CommunityToolkit.HighPerformance.dll .\CommunityToolkit.HighPerformance.dll, version=8.2.1.1 System.Threading.ThreadPool.dll .\System.Threading.ThreadPool.dll, version=7.0.1423.51910 PaintDotNet.Windows.Framework.dll .\PaintDotNet.Windows.Framework.dll, version=5.12.8735.38135 PaintDotNet.UI.dll .\PaintDotNet.UI.dll, version=5.12.8735.38135 Microsoft.Win32.Registry.dll .\Microsoft.Win32.Registry.dll, version=7.0.1423.51910 System.Drawing.Common.dll .\System.Drawing.Common.dll, version=7.0.1423.51910 Microsoft.Win32.SystemEvents.dll .\Microsoft.Win32.SystemEvents.dll, version=7.0.1423.51910 System.Linq.dll .\System.Linq.dll, version=7.0.1423.51910 dxgi.DLL C:\Windows\SYSTEM32\dxgi.DLL, version=10.0.22621.2506 (WinBuild.160101.0800) System.Collections.Immutable.dll .\System.Collections.Immutable.dll, version=7.0.1423.51910 dxcore.dll C:\Windows\SYSTEM32\dxcore.dll, version=10.0.22621.2506 (WinBuild.160101.0800) MSCTF.dll C:\Windows\System32\MSCTF.dll, version=10.0.22621.1 (WinBuild.160101.0800) directxdatabasehelper.dll C:\Windows\SYSTEM32\directxdatabasehelper.dll, version=10.0.22621.2506 (WinBuild.160101.0800) ComputeSharp.D2D1.dll .\ComputeSharp.D2D1.dll, version=2.1.0.0 System.Diagnostics.FileVersionInfo.dll .\System.Diagnostics.FileVersionInfo.dll, version=7.0.1423.51910 version.dll C:\Windows\SYSTEM32\version.dll, version=10.0.22621.1 (WinBuild.160101.0800) PresentationFramework.dll .\PresentationFramework.dll, version=7.0.1423.52002 d3d11.DLL C:\Windows\SYSTEM32\d3d11.DLL, version=10.0.22621.2506 (WinBuild.160101.0800) PaintDotNet.Windows.Core.dll .\PaintDotNet.Windows.Core.dll, version=5.12.8735.38135 msasn1.dll C:\Windows\SYSTEM32\msasn1.dll, version=10.0.22621.2506 (WinBuild.160101.0800) cryptnet.dll C:\Windows\SYSTEM32\cryptnet.dll, version=10.0.22621.1 (WinBuild.160101.0800) CRYPT32.dll C:\Windows\System32\CRYPT32.dll, version=10.0.22621.1 (WinBuild.160101.0800) drvstore.dll C:\Windows\SYSTEM32\drvstore.dll, version=10.0.22621.2506 (WinBuild.160101.0800) devobj.dll C:\Windows\SYSTEM32\devobj.dll, version=10.0.22621.2506 (WinBuild.160101.0800) cfgmgr32.dll C:\Windows\SYSTEM32\cfgmgr32.dll, version=10.0.22621.2506 (WinBuild.160101.0800) wldp.dll C:\Windows\SYSTEM32\wldp.dll, version=10.0.22621.2506 (WinBuild.160101.0800) cryptbase.dll C:\Windows\SYSTEM32\cryptbase.dll, version=10.0.22621.1 (WinBuild.160101.0800) System.ComponentModel.dll .\System.ComponentModel.dll, version=7.0.1423.51910 d2d1.DLL C:\Windows\SYSTEM32\d2d1.DLL, version=10.0.22621.1 (WinBuild.160101.0800) WINTRUST.DLL C:\Windows\System32\WINTRUST.DLL, version=10.0.22621.2792 (WinBuild.160101.0800) PaintDotNet.PropertySystem.dll .\PaintDotNet.PropertySystem.dll, version=5.12.8735.38135 imagehlp.dll C:\Windows\System32\imagehlp.dll, version=10.0.22621.1 (WinBuild.160101.0800) System.Xaml.dll .\System.Xaml.dll, version=7.0.1423.52002 clbcatq.dll C:\Windows\System32\clbcatq.dll, version=2001.12.10941.16384 (WinBuild.160101.0800) UIAnimation.dll C:\Windows\System32\UIAnimation.dll, version=10.0.22621.1 (WinBuild.160101.0800) gdiplus.dll C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.22621.2506_none_57f74dcece1b5ace\gdiplus.dll, version=10.0.22621.2506 (WinBuild.160101.0800) WindowsCodecs.dll C:\Windows\SYSTEM32\WindowsCodecs.dll, version=10.0.22621.2506 (WinBuild.160101.0800) System.IO.Packaging.dll .\System.IO.Packaging.dll, version=7.0.1423.51910 PresentationCore.dll .\PresentationCore.dll, version=7.0.1423.52002 PaintDotNet.Effects.Core.dll .\PaintDotNet.Effects.Core.dll, version=5.12.8735.38135 CRYPTSP.dll C:\Windows\SYSTEM32\CRYPTSP.dll, version=10.0.22621.2506 (WinBuild.160101.0800) XmlLite.dll C:\Windows\SYSTEM32\XmlLite.dll, version=10.0.22621.2506 (WinBuild.160101.0800) rsaenh.dll C:\Windows\system32\rsaenh.dll, version=10.0.22621.1 (WinBuild.160101.0800) dwrite.DLL C:\Windows\SYSTEM32\dwrite.DLL, version=10.0.22621.1 (WinBuild.160101.0800) DirectWriteForwarder.dll .\DirectWriteForwarder.dll, version=7,0,1423,52002 @Commit: 8784c26bc219f5b75f1315e1b6b7c1da924d5e32 System.Runtime.Extensions.dll .\System.Runtime.Extensions.dll, version=7.0.1423.51910 System.Diagnostics.Debug.dll .\System.Diagnostics.Debug.dll, version=7.0.1423.51910 System.Runtime.CompilerServices.VisualC.dll .\System.Runtime.CompilerServices.VisualC.dll, version=7.0.1423.51910 comctl32.dll C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.2506_none_270c5ae97388e100\comctl32.dll, version=6.10 (WinBuild.160101.0800) System.Collections.NonGeneric.dll .\System.Collections.NonGeneric.dll, version=7.0.1423.51910 Accessibility.dll .\Accessibility.dll, version=7.0.1423.52009 windows.storage.dll C:\Windows\SYSTEM32\windows.storage.dll, version=10.0.22621.2506 (WinBuild.160101.0800) wintypes.dll C:\Windows\SYSTEM32\wintypes.dll, version=10.0.22621.1 (WinBuild.160101.0800) UIAutomationTypes.dll .\UIAutomationTypes.dll, version=7.0.1423.52002 System.Numerics.Vectors.dll .\System.Numerics.Vectors.dll, version=7.0.1423.51910 nvldumdx.dll C:\Windows\System32\DriverStore\FileRepository\nvdm.inf_amd64_a330eb3977e0d6d9\nvldumdx.dll, version=31.0.15.2737 System.Threading.Tasks.Parallel.dll .\System.Threading.Tasks.Parallel.dll, version=7.0.1423.51910 mfplat.dll C:\Windows\SYSTEM32\mfplat.dll, version=10.0.22621.1 (WinBuild.160101.0800) RTWorkQ.DLL C:\Windows\SYSTEM32\RTWorkQ.DLL, version=10.0.22621.1 (WinBuild.160101.0800) CompPkgSup.DLL C:\Windows\SYSTEM32\CompPkgSup.DLL, version=10.0.22621.2506 (WinBuild.160101.0800) Windows.StateRepositoryPS.dll C:\Windows\System32\Windows.StateRepositoryPS.dll, version=10.0.22621.2792 (WinBuild.160101.0800) nvwgf2umx.dll C:\Windows\System32\DriverStore\FileRepository\nvdm.inf_amd64_a330eb3977e0d6d9\nvwgf2umx.dll, version=31.0.15.2737 WINMM.dll C:\Windows\SYSTEM32\WINMM.dll, version=10.0.22621.1 (WinBuild.160101.0800) System.Runtime.Loader.dll .\System.Runtime.Loader.dll, version=7.0.1423.51910 AvifFileType.dll .\Bundled\AvifFileType\AvifFileType.dll, version=1.1.27.0 DdsFileTypePlus.dll .\Bundled\DDSFileTypePlus\DdsFileTypePlus.dll, version=1.12.8.0 WebPFileType.dll .\Bundled\WebPFileType\WebPFileType.dll, version=1.3.21.0 windows.staterepositoryclient.dll C:\Windows\SYSTEM32\windows.staterepositoryclient.dll, version=10.0.22621.2792 (WinBuild.160101.0800) TextShaping.dll C:\Windows\SYSTEM32\TextShaping.dll, version=10.0.22621.2506 (WinBuild.160101.0800) windows.staterepositorycore.dll C:\Windows\SYSTEM32\windows.staterepositorycore.dll, version=10.0.22621.2792 (WinBuild.160101.0800) PaintDotNet.Effects.Gpu.dll .\PaintDotNet.Effects.Gpu.dll, version=5.12.8735.38135 PaintDotNet.Effects.dll .\PaintDotNet.Effects.dll, version=5.12.8735.38135 PaintDotNet.Effects.Legacy.dll .\PaintDotNet.Effects.Legacy.dll, version=5.12.8735.38135 wtsapi32.dll C:\Windows\SYSTEM32\wtsapi32.dll, version=10.0.22621.1 (WinBuild.160101.0800) WINSTA.dll C:\Windows\SYSTEM32\WINSTA.dll, version=10.0.22621.2506 (WinBuild.160101.0800) D3D10Warp.dll C:\Windows\SYSTEM32\D3D10Warp.dll, version=10.0.22621.2506 (WinBuild.160101.0800) UIAutomationCore.dll C:\Windows\SYSTEM32\UIAutomationCore.dll, version=7.2.22621.1 (WinBuild.160101.0800) dwmapi.DLL C:\Windows\SYSTEM32\dwmapi.DLL, version=10.0.22621.1 (WinBuild.160101.0800) dataexchange.dll C:\Windows\system32\dataexchange.dll, version=10.0.22621.2506 (WinBuild.160101.0800) twinapi.appcore.dll C:\Windows\system32\twinapi.appcore.dll, version=10.0.22621.1 (WinBuild.160101.0800) textinputframework.dll C:\Windows\SYSTEM32\textinputframework.dll, version=10.0.22621.2792 (WinBuild.160101.0800) CoreMessaging.dll C:\Windows\SYSTEM32\CoreMessaging.dll, version=10.0.22621.2506 (WinBuild.160101.0800) CoreUIComponents.dll C:\Windows\SYSTEM32\CoreUIComponents.dll, version=10.0.22621.2506 powrprof.dll C:\Windows\SYSTEM32\powrprof.dll, version=10.0.22621.2506 (WinBuild.160101.0800) UMPDC.dll C:\Windows\SYSTEM32\UMPDC.dll, version=10.0.22621.1 (WinBuild.160101.0800) System.Runtime.Serialization.Formatters.dll .\System.Runtime.Serialization.Formatters.dll, version=7.0.1423.51910 System.Text.RegularExpressions.dll .\System.Text.RegularExpressions.dll, version=7.0.1423.51910 PaintDotNet.SystemLayer.Native.x64.dll .\PaintDotNet.SystemLayer.Native.x64.dll, version=5.12.8735.38135 System.Runtime.Intrinsics.dll .\System.Runtime.Intrinsics.dll, version=7.0.1423.51910 PhotoSauce.MagicScaler.dll .\PhotoSauce.MagicScaler.dll, version=0.13.2.0 explorerframe.dll C:\Windows\system32\explorerframe.dll, version=10.0.22621.2506 (WinBuild.160101.0800) PROPSYS.dll C:\Windows\SYSTEM32\PROPSYS.dll, version=7.0.22621.2506 (WinBuild.160101.0800) ComputeSharp.Core.dll .\ComputeSharp.Core.dll, version=2.1.0.0 d3dcompiler_47.DLL C:\Windows\SYSTEM32\d3dcompiler_47.DLL, version=10.0.22621.2506 (WinBuild.160101.0800) Cabinet.dll C:\Windows\SYSTEM32\Cabinet.dll, version=5.00 (WinBuild.160101.0800) dcomp.dll C:\Windows\SYSTEM32\dcomp.dll, version=10.0.22621.2715 (WinBuild.160101.0800) PointerToolkit.TerraFX.Interop.Windows.dll .\PointerToolkit.TerraFX.Interop.Windows.dll, version=10.0.22621.2 sxs.dll C:\Windows\SYSTEM32\sxs.dll, version=10.0.22621.1 (WinBuild.160101.0800) MsftEdit.DLL C:\Windows\SYSTEM32\MsftEdit.DLL, version=10.0.22621.1 (WinBuild.160101.0800) System.Diagnostics.StackTrace.dll .\System.Diagnostics.StackTrace.dll, version=7.0.1423.51910 System.Reflection.Metadata.dll .\System.Reflection.Metadata.dll, version=7.0.1423.51910 System.IO.MemoryMappedFiles.dll .\System.IO.MemoryMappedFiles.dll, version=7.0.1423.51910 setupapi.DLL C:\Windows\System32\setupapi.DLL, version=10.0.22621.1 (WinBuild.160101.0800) Quote
null54 Posted January 1 Posted January 1 41 minutes ago, MrG said: Really puzzling me.. Paint.NET uses the TIFF read/write functionality that is built-in to Windows, Windows Imaging Component (WIC). There could be something about those files that WIC does not like. The other apps you mentioned have their own code for handling TIFF files that is independent of WIC, e.g. GIMP uses libtiff. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait
Tactilis Posted January 1 Posted January 1 @MrG please post links to: - webODM tiff in EPSG:3123 (i.e opens OK in paint.net) - webODM tiff in WGS84 (i.e does not open) Quote
Rick Brewster Posted January 1 Posted January 1 I have no idea what "EPSG:3123" or "WGS84" are. It would help if you would provide one of the files that does not open. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
Tactilis Posted January 1 Posted January 1 1 hour ago, Rick Brewster said: I have no idea what "EPSG:3123" or "WGS84" are. They are just different coordinate systems/datums (projections) used for mapping & imagery. WGS84 is the World Geodetic System 1984. EPSG:3123 is optimised for the area around the Philippines. The metadata in the geoTIFF file will indicate the projection in use. Quote
MrG Posted January 1 Author Posted January 1 I'm now uploading first the file that error's.. maybe one of you can find out already why it does.. The only differences I see in the files is the embedded pages.. the files I can open properly don't have this. The other difference is the bands.. But anyway will post a link to the file that error's so let's see, it's a big file though.. 2GB Although that shouldn't be a problem because in paint.net I also open much larger files.. but they then never have these embedded pages nor band colour specifications. So these are the bands, other tiff also have bans, but not specified as red-green-blue.. just Band The file that gives the error, has these, embedded smaller images Quote
MrG Posted January 1 Author Posted January 1 (edited) The link to the file that gives the error: https://drive.google.com/file/d/11fdEg9nrl99DUYxbjCjoBw3wGs-ZEvEe/view?usp=sharing Edited January 1 by MrG Quote
Tactilis Posted January 1 Posted January 1 20 minutes ago, MrG said: But anyway will post a link to the file that error's so let's see, it's a big file though.. 2GB Although that shouldn't be a problem because in paint.net I also open much larger files.. But it may well be a problem for anyone wanting investigate the issue for you. Can you reproduce the problem with a much smaller area and therefore smaller file? Quote
MrG Posted January 1 Author Posted January 1 2 minutes ago, Tactilis said: But it may well be a problem for anyone wanting investigate the issue for you. Can you reproduce the problem with a much smaller area and therefore smaller file? I only know to use GIMP to make it smaller, but GIMP saves it differently and that causes no problem for paint.net to open. But editing with GIMP, I lose a lot of quality and it adds a black layer and the Geocoding is totally wrong after saving with GIMP.. so that's why I started to use paint.net as it perfectly maintains all geocoded data and also the quality of the image itself remains intact.. btw these files that are stored and a problem for paint.net are created by ODM (OpenDroneMap) but only if I download "All assets" as a zip. If I download directly as tiff, without zipping it, paint.net opens it without problems. There's a difference in the files between directly downloading from ODM or downloading zipped .. So maybe there's an issue on their end, but regardless if that may be true or not, I still wish to know why gimp, ArcGIS, QGIS, Photoshop can open all tiffs and paint.net gives me this weird error I don't understand. Quote
Tactilis Posted January 1 Posted January 1 34 minutes ago, MrG said: The only differences I see in the files is the embedded pages.. the files I can open properly don't have this. The other difference is the bands.. You appear to be changing too many variables at once. You started out by saying: 14 hours ago, MrG said: if webODM tiff saved file EPSG:3123 also paint.net can open the files.. if webODM tiff saved file WSG84 then I get the exception message as stated below. You need to save a file using webODM in EPSG:3123 and another in WGS84 for exactly the same area and with all other settings being the same. Quote
Tactilis Posted January 1 Posted January 1 6 minutes ago, MrG said: btw these files that are stored and a problem for paint.net are created by ODM (OpenDroneMap) but only if I download "All assets" as a zip. If I download directly as tiff, without zipping it, paint.net opens it without problems. 1. Are you saying that the "All assets" .zip contains a copy of the tiff? And the tiff in the .zip is supposed to be the same tiff as you would get by downloading directly? 2. I'm now confused by your original post where you said the problem was between files saved using webODM in EPSG:3123 versus WGS84. But now you are saying the issue is between zipped and non-zipped. Please start again and create the smallest example you can that provokes the error and be clear what the differences are. Don't change multiple things at once. Quote
MrG Posted January 1 Author Posted January 1 This is the link which works: https://drive.google.com/file/d/1WlzDz8zn0PAYPrLJeKepOyJTRO68Am4A/view?usp=sharing Paint.Net has no problems opening this file, although it's even twice the size Quote
MrG Posted January 1 Author Posted January 1 (edited) Well to be honest I do NOT know what differences in the file is causing this problem! There are 2 different options for me to download from the webODM interface.. which presents me the same generated tiff.. internally ODM generates a tiff.. I can download that tiff directly.. then it's downloaded in EPSG:3123 Or I download as "all assets.zip" and then the tiff I get is in WGS84.. which is equal to epsg32651, if using the zone 51N projection: EPSG:32651 - WGS 84 / UTM zone 51N - Projected So I honestly have NO IDEA why so many variables are different.. because there's a single time that the orthographic image is being generated and written as GeoTIFF. I expect when I click download orthographic image OR "all assets" as zip it to be the same.. but fact is it's not.. And fact is, the two different files.. one I can load in paint.net and the other gives me the error. And the one giving me the error, is the good one, which doesn't cut off a small portion of the image so that's the one I need. The projection itself, it doesn't matter much to me, I can change that in QGIS.. all I need in the end, is paint.net to open it, and save it again, as the paint.net seems to save 100% the same quality.. in just 25% of the size of the file! There seems to be a lot of data ... empty data.. no data.. eating a lot of GB .. But when I open in paint.net, and do nothing, just click save.. the files are like 4 times smaller but opening them in any editor or GIS application or GeoServer or Tileserver.. the quality is 100% the same.. just 75% smaller storage footprint.. So that's why I wish to open in paint.net and save in paint net.. clearly paint.net has a much better algorithm in saving data and keeping the storage significantly smaller. Edited January 1 by MrG Quote
Tactilis Posted January 1 Posted January 1 10 minutes ago, MrG said: And the one giving me the error, is the good one, which doesn't cut off a small portion of the image So downloading directly as a tiff and downloading an All assets zip file containing the tiff are clearly not equivalent, not even in terms coverage area. 42 minutes ago, MrG said: I expect when I click download orthographic image OR "all assets" as zip it to be the same.. but fact is it's not. This is an issue that would be best asked about on the webODM forum. Once you have an an answer to that, then maybe it will point to why Windows Imaging Component rejects the 'bad' tiff. Quote
Tactilis Posted January 2 Posted January 2 The Windows Photos app also uses WIC. It can open your 'good' file (the one with the cropped corner) but is unable to open your 'bad' file: So, as @null54 originally pointed out, this is a WIC problem (or maybe actually a webODM problem), not a paint.net issue. Quote
MrG Posted January 2 Author Posted January 2 https://community.opendronemap.org/t/download-assets-windows-imaging-component-incompatible-under-certain-conditions/18792/2 I posted this on their forum.. with a link to this forum entry here.. so both reports are "linked" easy for anyone then to follow-up Quote
MrG Posted January 2 Author Posted January 2 10 minutes ago, Tactilis said: o, as @null54 originally pointed out, this is a WIC problem (or maybe actually a webODM problem), not a paint.net issue. Yes I understand it's either a webODM or WIC issue.. since WIC is already 17+ years old going to assume webODM issue. It's just I know on forums like these are quite often very smart and experienced people who can figure out what is actually wrong, because I have absolutely no clue. So hoping for one of you guys, to figure out what's wrong.. and if it's webODM or WIC.. and what is wrong with it.. so I can contact either MS or webODM folks about it. I'm literally shooting air into thin air here...not a single clue.. Thank you for your trying to help me .. much appreciated Quote
Rick Brewster Posted January 2 Posted January 2 21 hours ago, MrG said: Exception: PaintDotNet.Imaging.ImagingComponentNotFoundException (0x88982F50) This error indicates that WIC is unable to identify the type of the file (JPEG, TIFF, etc.) from its contents. It does not use the file extension for determining the image type. So it is definitely not a TIFF, at least not by WIC's understanding of them, even if it has a file extension of .tif / .tiff. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
Rick Brewster Posted January 2 Posted January 2 6 hours ago, MrG said: paint.net seems to save 100% the same quality.. in just 25% of the size of the file! There are two likely causes for this: Paint.NET is saving with compression enabled, but the other app isn't Paint.NET is loading a high-bit-depth image (e.g. 64-bit BGRA), converting it to 32-bit BGRA in the process, and is losing precision even if you can't visually discern the difference. I'd be wary of 2 -- you will want to check the bit-depth of the image before opening in PDN. For example, I have a 64-bit TIFF in my test images folder, when you inspect its properties it says it's 64-bit: Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
Solution null54 Posted January 2 Solution Posted January 2 5 hours ago, Rick Brewster said: So it is definitely not a TIFF, at least not by WIC's understanding of them, even if it has a file extension of .tif / .tiff. That file (odm_orthophoto.tif) uses BigTIFF, a TIFF variant that uses 64-bit offsets in place of the 32-bit offsets in the regular TIFF format. The TIFF format can be identified in a hex editor by the file header signature, the first 4 bytes would be: Regular TIFF Motorola/Big Endian - 0x4D 0x4D 0x00 0x2A Regular TIFF Intel/Little Endian - 0x49 0x49 0x2A 0x00 Big TIFF Motorola/Big Endian - 0x4D 0x4D 0x00 0x2B Big TIFF Intel/Little Endian - 0x49 0x49 0x2B 0x00 I have no idea why that file was written as BigTIFF, its size is well within the 4 GB limit of the regular TIFF format. As for why WIC does not support BigTIFF, that would be a question for Microsoft. 1 Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait
MrG Posted January 2 Author Posted January 2 (edited) 45 minutes ago, null54 said: That file (odm_orthophoto.tif) uses BigTIFF, a TIFF variant that uses 64-bit offsets in place of the 32-bit offsets in the regular TIFF format. The TIFF format can be identified in a hex editor by the file header signature, the first 4 bytes would be: Regular TIFF Motorola/Big Endian - 0x4D 0x4D 0x00 0x2A Regular TIFF Intel/Big Endian - 0x49 0x49 0x2A 0x00 Big TIFF Motorola/Big Endian - 0x4D 0x4D 0x00 0x2B Big TIFF Intel/Little Endian - 0x49 0x49 0x2B 0x00 I have no idea why that file was written as BigTIFF, its size is well within the 4 GB limit of the regular TIFF format. As for why WIC does not support BigTIFF, that would be a question for Microsoft. Thank you! Just tried to convert it from big TiFF to Regular TIFF and then it works.. Awesome you discovered this.. many many thanks! As for why it's written as Big TIFF, during the generation of the original file on the server, it's over 4GB, so I presume it must be Big TIFF there. I guess when I download it, and the algorithm compresses it down before download, it probably sees no reason to change to Regular TIFF and maintains the Big TIFF. But anyway, converting it works.. Thanks again btw, screenshot of the original data size on the server disk: Edited January 2 by MrG Quote
Tactilis Posted January 2 Posted January 2 I see that you've had a positive response on the webODM forum confirming that WIC doesn't handle BigTIFF and that a webODM issue will be raised to investigate why the wrong format is being chosen when exporting the <4GB file & why part of your image area is being cut off. A good outcome. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.