LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-08-2010, 01:07 AM   #1
pjoshi
LQ Newbie
 
Registered: Nov 2009
Location: Pune, India
Distribution: RHEL AS 3
Posts: 7

Rep: Reputation: 0
Red face JBG Image viewer/converter


Hi All,

I want to know if there is any application from which I can view/convert the JBG Images to any other format.

I have installed XnView and Image Magick. XnView does no support the JBG Images and Image Magick gives error while converting the image.

Can somebody help me out with this?

Prasad.
 
Old 02-08-2010, 02:07 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
This is supposed to work :

convert sample.jbg new.jpg

.. unless you have a corrupt JBG image.

.....
 
Old 02-08-2010, 02:28 AM   #3
pjoshi
LQ Newbie
 
Registered: Nov 2009
Location: Pune, India
Distribution: RHEL AS 3
Posts: 7

Original Poster
Rep: Reputation: 0
Smile JBG Image viewer/converter

knudfl thanks for your reply,

When I issue the convert command it gives me the following error:

convert: no decode delegate for this image format `/home3/pjoshi/image.jbg' @ constitute.c/ReadImage/532.
convert: missing an image filename `/home3/pjoshi/img.jpg' @ convert.c/ConvertImageCommand/2849.

The .jbg file which I am using is not corrupt because the same file opens in XnView under Windows Environment

Prasad
 
Old 02-08-2010, 02:54 AM   #4
www.zwodnik.pl
LQ Newbie
 
Registered: Feb 2010
Location: http://www.zwodnik.pl/
Distribution: Minix
Posts: 4

Rep: Reputation: 1
Quote:
Originally Posted by pjoshi View Post
Hi All,
I have installed XnView and Image Magick. XnView does no support the JBG Images and Image Magick gives error while converting the image.
Have you got jbigkit library?
 
1 members found this post helpful.
Old 02-08-2010, 02:55 AM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
It may have been compiled with this turned off. What is the output of:

Code:
convert -version | grep -Ei 'jbg|jbig'
Evo2.
 
1 members found this post helpful.
Old 02-08-2010, 03:21 AM   #6
pjoshi
LQ Newbie
 
Registered: Nov 2009
Location: Pune, India
Distribution: RHEL AS 3
Posts: 7

Original Poster
Rep: Reputation: 0
Smile JBG Image viewer/converter

Evo2,

convert -version | grep -Ei 'jbg|jbig' does not gives any output and it just return back to the prompt.

I do not have any knowledge about jbigkit.

Prasad
 
Old 02-08-2010, 03:27 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you might need to build imagemagick from source .
it is very easy to do .Just fallow the instructions .
I build it all the time because i need some odd options in it .
 
1 members found this post helpful.
Old 02-08-2010, 03:29 AM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by pjoshi View Post
convert -version | grep -Ei 'jbg|jbig' does not gives any output and it just return back to the prompt.
Looks like jbg was not included. It may be best to build it from source as suggested by John VV.

Evo2.
 
1 members found this post helpful.
Old 02-08-2010, 03:54 AM   #9
pjoshi
LQ Newbie
 
Registered: Nov 2009
Location: Pune, India
Distribution: RHEL AS 3
Posts: 7

Original Poster
Rep: Reputation: 0
JBG Image viewer/converter

Evo2 / John,

Thanks for the reply. Could you please give me the detail steps to uninstall the Existing Image Magick and then how to rebuild it fro source.

Thanks in anticipation.

Prasad.
 
Old 02-08-2010, 04:04 AM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can use your package manager to remove the imagemagick package. Install the source package for your distribution, or the source from the web. Using your distro's source rpm would reduce the chance of library version conflicts.

CD to the SPECS directory. The "rpmbuild -bp <package>.spec" command will untar the source files and apply patches if any.
The cd to the SOURCES directory, and to the imagemagick-<version> source directory.

Run "./configure --help". Pay attention to the options so you can enable the one you are missing.
./configure --<your_option(s)
make
make install

When installing from source, you may need to install the *-devel versions of packages for the libraries it uses. As you build more packages from source, these will already be installed and you will need to do this less frequently.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for Team - 3D Model Viewer & Converter jan1024188 General 0 10-29-2007 04:04 AM
Image Viewer Can't View Image Files. klownska Linux - Software 1 02-27-2006 02:26 AM
XML viewer and converter satimis Linux - Software 0 07-04-2004 06:33 AM
3D object viewer/converter? mikshaw Linux - Software 8 04-04-2004 11:59 PM
powerpoint viewer or converter? asyoung Linux - General 4 08-25-2003 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration