PDA

View Full Version : Wot? No jpegs?



scary_rob
30th October 2014, 01:49 AM
So I've just returned to Fedora after 7 years of Ubuntu, using the KDE spin of Fedora 20. I've added the correct repositories for proprietory codecs (I think) - certainly Amarok's playing mp3s and Konqueror's happy with flash videos. But I can't seem to get anything to read jpegs. The wallpaper part of Plasma is refusing to acknowledge that jpegs are valid files, and Gwenview gives me a message that 'loading metadata failed' when I try to open them, KolourPaint says, 'unsupported image file'.

I've got libjpeg-turbo installed, and trawling google and the forums hasn't turned up anything I may have missed regarding jpegs in Fedora or KDE. Does anybody know what it is I'm missing here? I'm assuming it's going to turn out to be something obvious, but I haven't managed to put my finger on what it might be.... :confused:

EDIT: Well, this is embarassing. Apparently it's Konqueror's fault. The jpegs in question were downloaded off wallpaper sites after a fresh install and, now that I've tried again with files backed up from my ubuntu install/files downloaded by firefox from the same website, everything's okay. Konqueror must have messed up the downloads somehow.

For my purposes, Konqueror's just lost its spot as my default browser.

lsatenstein
30th October 2014, 03:05 AM
There are two Fedora20 remixes that may be of interest to you.

Yandex
(http://mirror.yandex.ru/fedora/russianfedora/releases/RFRemix/20/RFRemix/x86_64/iso)

It has all the codecs, and viewers that you are lacking.

The other is Chapeau (http://chapeaulinux.org/download/)

JohnVV
30th October 2014, 03:55 AM
what exactly jpeg wise is installed >


su -
rpm -qa | grep jpg
-----
rpm -qa | grep jpeg
and
yum search jpeg


there are many different versions
-- i am on SUSE right now so...
to name a few

libjpeg62
libjpeg8
libopenjpeg1
openjpeg
openjpeg2
libmjpegutils-2_0-0
and all the -devel's for each

sea
30th October 2014, 06:23 AM
How about gpicview?

scary_rob
30th October 2014, 11:22 PM
what exactly jpeg wise is installed >

Well, quite a lot, apparently:


[root@localhost ~]# yum search jpeg
Loaded plugins: langpacks, refresh-packagekit
============================== N/S matched: jpeg ===============================
openjpeg2.i686 : C-Library for JPEG 2000
openjpeg.x86_64 : JPEG 2000 command line tools
jpegoptim.x86_64 : Utility to optimize JPEG files
libjpeg-turbo.i686 : A MMX/SSE2 accelerated library for manipulating JPEG image
: files
CharLS.i686 : An optimized implementation of the JPEG-LS standard
cambozola.noarch : A viewer for multipart jpeg streams
gallery2-jpegtran.noarch : JPEG manipulation module for Gallery 2
gd.i686 : A graphics library for quick creation of PNG or JPEG images
jasper.x86_64 : Implementation of the JPEG-2000 standard, Part 1
jpeginfo.x86_64 : Error-check and generate informative listings from JPEG files
libjpeg-turbo.x86_64 : A MMX/SSE2 accelerated library for manipulating JPEG
: image files
libjpeg-turbo-devel.i686 : Headers for the libjpeg-turbo library
libjpeg-turbo-devel.x86_64 : Headers for the libjpeg-turbo library
libjpeg-turbo-static.i686 : Static version of the libjpeg-turbo library
libjpeg-turbo-static.x86_64 : Static version of the libjpeg-turbo library
libjpeg-turbo-utils.x86_64 : Utilities for manipulating JPEG images
mingw32-libjpeg-turbo.noarch : MinGW Windows Libjpeg-turbo library
mingw32-libjpeg-turbo-static.noarch : Static version of the MinGW Windows
: Libjpeg-turbo library
mingw32-openjpeg.noarch : MinGW Windows OpenJPEG library
mingw32-openjpeg-static.noarch : Static version of the MinGW Windows OpenJPEG
: library
mingw64-libjpeg-turbo.noarch : MinGW Windows Libjpeg-turbo library
mingw64-libjpeg-turbo-static.noarch : Static version of the MinGW Windows
: Libjpeg-turbo library
mingw64-openjpeg.noarch : MinGW Windows OpenJPEG library
mingw64-openjpeg-static.noarch : Static version of the MinGW Windows OpenJPEG
: library
mjpegtools-devel.i686 : Development files for mjpegtools libraries
mjpegtools-devel.x86_64 : Development files for mjpegtools libraries
mjpegtools-lav.i686 : MJPEGtools lavpipe libraries
mjpegtools-lav.x86_64 : MJPEGtools lavpipe libraries
mjpegtools-lav-devel.i686 : Development files for mjpegtools lavpipe libraries
mjpegtools-lav-devel.x86_64 : Development files for mjpegtools lavpipe libraries
mjpegtools-libs.i686 : MJPEGtools libraries
mjpegtools-libs.x86_64 : MJPEGtools libraries
openjpeg-devel.i686 : Development files for openjpeg
openjpeg-devel.x86_64 : Development files for openjpeg
openjpeg-libs.i686 : JPEG 2000 codec runtime library
openjpeg-libs.x86_64 : JPEG 2000 codec runtime library
openjpeg2.x86_64 : C-Library for JPEG 2000
openjpeg2-devel.i686 : Development files for OpenJPEG 2
openjpeg2-devel.x86_64 : Development files for OpenJPEG 2
openjpeg2-devel-docs.noarch : Developer documentation for OpenJPEG 2
openjpeg2-tools.x86_64 : OpenJPEG 2 command line tools
recoverjpeg.x86_64 : Recover JPEG pictures and MOV movies from damaged devices
stbi.i686 : JPEG/PNG reader
turbojpeg.i686 : TurboJPEG library
turbojpeg.x86_64 : TurboJPEG library
turbojpeg-devel.i686 : Headers for the TurboJPEG library
turbojpeg-devel.x86_64 : Headers for the TurboJPEG library
CharLS.x86_64 : An optimized implementation of the JPEG-LS standard
digikam.x86_64 : A digital camera accessing & photo management application
exif.x86_64 : Utility to show EXIF information hidden in JPEG files
gd.x86_64 : A graphics library for quick creation of PNG or JPEG images
gimp.x86_64 : GNU Image Manipulation Program
jhead.x86_64 : Tool for displaying EXIF data embedded in JPEG images
jpgalleg.i686 : JPEG library for the Allegro game library
jpgalleg.x86_64 : JPEG library for the Allegro game library
metadata-extractor.noarch : JPEG metadata extraction framework
mjpegtools.x86_64 : Tools to manipulate MPEG data
mjpegtools-gui.x86_64 : GUI tools to manipulate MPEG data
rubygem-imagesize.noarch : Measure image size(GIF, PNG, JPEG ,,, etc)
stbi.x86_64 : JPEG/PNG reader
stbi-devel.i686 : JPEG/PNG reader development files
stbi-devel.x86_64 : JPEG/PNG reader development files
texlive-context-degrade.noarch : Degrading JPEG images in ConTeXt
wavextract.noarch : Program for extracting embedded audio data from JPEG images


How about gpicview?

I haven't tried it. To be honest, it was only the files I downloaded with Konqueror that weren't behaving, as it turns out. I think the issue here is Konqueror corrupting the files as it creates them - when I tried downloading the wallpapers from the same site with Firefox, all the programs read the new versions perfectly well.

sea
31st October 2014, 03:57 AM
You could try to fix them by using 'convert' which is part of ImageMagick.
As in:

convert "orginal.jpg" "new_jpg.jpg"
hth

scary_rob
31st October 2014, 05:34 PM
Cheers, Sea. I might try it as an experiment later. :)