Hi! When trying to open a psd file in the load method throws an error:
‘Aspose.PSD.FileFormats.Psd.Layers.LayerResources.TypeToolInfoStructures.DoubleStructure’ to write ‘Aspose.PSD.FileFormats.Psd.Layers.LayerResources.TypeToolInfoStructures.UnitStructure’.
Code:
PsdImage image = (PsdImage)Aspose.PSD.Image.Load(“c:\PSDfile”);
Psd: PsdTest.zip (230 Bytes)
@cristianortegaethofy
According to your post we have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PSDNET-1579,PSDNET-1578
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
This exception appeared because of the new feature of Aspose.PSD - Support of ShapeLayer that should be completely released in the 23.7. So, this tasks were added with high priority.
Hello, I come to bring more details about the error, and ask you if there is any news regarding this bug
Message error:
“Unable to cast object of type ‘Aspose.PSD.FileFormats.Psd.Layers.LayerResources.TypeToolInfoStructures.DoubleStructure’ to type ‘Aspose.PSD.FileFormats.Psd.Layers.LayerResources.TypeToolInfoStructures.UnitStructure’.”
StackTrace:
" at Aspose.PSD.FileFormats.Psd.Layers.LayerResources.VogkResource.\u0003(OSTypeStructure \u0002)\r\n at Aspose.PSD.FileFormats.Psd.Layers.LayerResources.VogkResource.\u0002.\u0003(OSTypeStructure \u0002)\r\n at Aspose.PSD.FileFormats.Psd.Layers.LayerResources.VogkResource.\u0002(String \u0002, OSTypeStructure[] \u0003, Dictionary`2 \u0005, String[] \b)"
This issue is fixed and in the “code review” status. It will be delivered in Aspose.PSD 23.6
Perfect, thanks, I’m waiting for the release of version 23.6
The issues you have found earlier (filed as PSDNET-1578,PSDNET-1579) have been fixed in this update. This message was posted using Bugs notification tool by yaroslav.lisovskyi