Page 1 of 1

Batch Convert jb2 files

Posted: Thu Oct 10, 2013 2:54 pm
by DittoDDS
I would like assistance/information on how to batch convert jb2 files into either jpg or tif or even pdf files.
I have tons of these files. they were result of extracting embedded images out of original pdf files. I now need to convert them into some kind of image format commonly viewable in non-special applications.
I downloaded XnView MP 0.61
I tried using batch convert - but it just says
C:\TEMP\91060 JB2 Test\JB2_001\001\JB2Test00173.jb2 0x0x0 : not a picture
for all of the files I was trying to batch convert.

I am new to this arena and working with these types of files. Any assistance is appreciated and I am happy to try and answer any questions I can.

Re: Batch Convert jb2 files

Posted: Fri Oct 11, 2013 5:03 am
by xnview
you need to download the jb2 plugin from here
http://newsgroup.xnview.com/viewtopic.php?f=35&t=11715

Re: Batch Convert jb2 files

Posted: Fri Oct 11, 2013 10:17 am
by DittoDDS
Thank you!
Giving this a try in the morning.

Re: Batch Convert jb2 files

Posted: Fri Oct 11, 2013 10:21 am
by DittoDDS
is this something I just execute on my whole computer, or is there some kind of plugin manager for xnview? or some special way or place it needs installed.

Re: Batch Convert jb2 files

Posted: Fri Oct 11, 2013 11:14 am
by xnview
Only to put the file in Plugins folder of XnConvert

Re: Batch Convert jb2 files

Posted: Fri Oct 11, 2013 1:29 pm
by DittoDDS
Probably I am doing something wrong, or these files just arent going to convert. Can you give me opinion on what I can try converting them to? Or anything I can try to even see if they are viewable. They have filesizes (meaning they are not empty files).
I put the .exe in the plugins folder.
I have tried to convert to tif, pdf, bmp, jpg, but it gives this error for all files:
C:\TEMP\91060 JB2 Test\JB2_001\001\JB2Test00173.jb2 0x0x0 : not a picture
Maybe they just wont convert?

Re: Batch Convert jb2 files

Posted: Sat Oct 12, 2013 12:30 pm
by xnview
could you send me a sample file?

Re: Batch Convert jb2 files

Posted: Sun Oct 13, 2013 3:14 pm
by cday
The following zip attachment contains a JB2 file created in Nuance OmniPage 18 :
JB2 test file.zip
(53.76 KiB) Downloaded 139 times
It opens correctly in XnView with the jbig2dec plugin in the Plugins folder (but there is no option to save to JB2 format).

It doesn't seem to open in XnViewMP or XnConvert 32bit with the jbig2dec plugin in the relevant Plugins folder...

DittoDDS could therefore probably use the XnView batch conversion operations to batch convert his JB2 files pending investigation of the XnConvert issue.

(Note: JBIG2 JP2 file format is a black and white format that provides very efficient compression: to prevent excessive file size growth after conversion it would be necessary to save to a suitable format such as TIFF with CCITT G4 compression.)

Re: Batch Convert jb2 files

Posted: Mon Oct 14, 2013 6:57 am
by xnview
ok, i can confirm the problem in XnViewMP...

Re: Batch Convert jb2 files

Posted: Mon Oct 14, 2013 2:40 pm
by DittoDDS
Hoping that I am following this properly.
I downloaded xnView, as opposed to the MP version. I can confirm that I can view the test jb2 file that was uploaded.
However, i cannot view my jb2 files.
In trying to convert 3 sample files in xnview, it said the format of the file could not be determined. It looks as though the plugin is working properly as I see it flash on my screen in trying to view the files, but they still are not viewable.
I can provide sample, but prefer it to be direct and not posted.

Re: Batch Convert jb2 files

Posted: Tue Oct 15, 2013 6:45 am
by xnview
could you send me by mail one sample?

Re: Batch Convert jb2 files

Posted: Tue Oct 15, 2013 1:39 pm
by DittoDDS
attaching sample files

Re: Batch Convert jb2 files

Posted: Tue Oct 15, 2013 3:37 pm
by DittoDDS
FYI, the zip file posted is pw protected and I am aware of this and have attempted to send the pw to Pierre via PM.

Re: Batch Convert jb2 files

Posted: Wed Nov 13, 2013 2:20 pm
by xnview