ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Splitting a multi page TIFF file

Post new topic  Reply to topic
 Splitting a multi page TIFF file « View previous topic :: View next topic » 
Author Message
achocks
PostPosted: Sat Jul 20, 2013 5:30 am    Post subject: Splitting a multi page TIFF file Reply with quote

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
View user's profile Send private message
shanson
PostPosted: Mon Jul 22, 2013 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message
achocks
PostPosted: Mon Jul 22, 2013 7:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Splitting a multi page TIFF file
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.