LEADTOOLS Support
General
General Questions
Changing transfer syntax fails on Android
#1
Posted
:
Wednesday, April 1, 2015 4:18:07 AM(UTC)
Groups: Registered
Posts: 1
Hi guys,
I am trying the Android SDK v18 and I want to decompress a dicom containg JPEG2000 image like this:
ds.load(leadStream, DicomDataSetLoadFlags.NONE);
ds.changeTransferSyntax(DicomUidType.EXPLICIT_VR_LITTLE_ENDIAN, 2, ChangeTransferSyntaxFlags.NONE);
When I try this code with JPEGLS or uncompressed data everything works fine, but trying with JPEG2000 it produces the following error:
E/MessageQueue-JNI(16532): leadtools.dicom.DicomException: Improper image.
E/MessageQueue-JNI(16532): at leadtools.dicom.DicomDataSet.changeTransferSyntax(Unknown Source)
The transfer syntax of the images is: 1.2.840.10008.1.2.4.90
What am I doing wrong and how can I decompress these type of files on Android
Thanks in advance :P
P.S. I attached the file I am trying to decompress
#2
Posted
:
Thursday, April 2, 2015 6:15:28 AM(UTC)
Groups: Registered, Tech Support
Posts: 179
It appears the attachment did not succeed. Please put the file in a ZIP or RAR archive and email it to
support@leadtools.com with more details about the problem and how you tried it.
Also, please mention this forum post in your email.
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
General
General Questions
Changing transfer syntax fails on Android
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.