|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Splitting a multi page TIFF file |
« View previous topic :: View next topic » |
Author |
Message
|
achocks |
Posted: Sat Jul 20, 2013 5:30 am Post subject: Splitting a multi page TIFF file |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
Hi All,
I need to split a TIFF file that has multiple pages, into separate pages.
I will be getting an input stream of the TIFF content in an Inline attachment in the payload, I need to break this into multiple pages and get byte[] of each page and embed that byte array into an xml file.
So my input is TIFF stream, and my out put to be bytes[] for each page.
I am planning to do this inside the broker 8.0.0.2
Anyone has done this before? Experts --Is this doable?
Thanks in advance! |
|
Back to top |
|
 |
shanson |
Posted: Mon Jul 22, 2013 6:49 am Post subject: |
|
|
 Partisan
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
|
Not heard of this being done in MB. I'd explore what the LibTIFF library offers and see if that can be called from a plugin node. It looks like it contains a tiffsplit utility for splitting apart multi-image TIFF files.
Alternatively if the TIFF files you are dealing with always use a predictable subset of TIFF, it might be possible to simply split the file by scanning for a known delimiter. You could get DFDL to do this, as dfdl:lengthKind 'delimited' is supported for xs:hexBinary elements, from 8002.
Good luck and let us know how you get on. |
|
Back to top |
|
 |
achocks |
Posted: Mon Jul 22, 2013 7:22 am Post subject: |
|
|
Voyager
Joined: 28 Nov 2011 Posts: 82
|
Thanks for your reply shanson!
We are looking at java options using JAI ..Will keep you posted. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|