"Smeared lines" in the pictures?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
dguldstrand
Posts: 7
Joined: 2013-03-05T10:41:31-07:00
Authentication code: 6789
Location: Orebro, Sweden

"Smeared lines" in the pictures?

Post by dguldstrand »

I've just installed Gallery 3 and uploaded some photos, (with ImageMagick).
Immediately noticed that some images have a smeared "stretch / line" to the right.

How can this be?
(See attached image.)

Image
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: "Smeared lines" in the pictures?

Post by fmw42 »

What version of IM? What platform? What is your IM command?
dguldstrand
Posts: 7
Joined: 2013-03-05T10:41:31-07:00
Authentication code: 6789
Location: Orebro, Sweden

Re: "Smeared lines" in the pictures?

Post by dguldstrand »

fmw42 wrote:What version of IM? What platform? What is your IM command?
OS: Debian
ImageMagick version: 6.6.0-4

Command: Not sure.. i´m using Gallery 3
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: "Smeared lines" in the pictures?

Post by fmw42 »

Without further information about your IM commands, all I can suggest is that you upgrade IM. It is over 200 releases behind and may have had a bug. The other suggestion is to try other image formats and see if the result is the same. Also perhaps post your input image(s).

At this point we have no idea what processing you and Gallery are doing! Perhaps you need to contact Gallery
dguldstrand
Posts: 7
Joined: 2013-03-05T10:41:31-07:00
Authentication code: 6789
Location: Orebro, Sweden

Re: "Smeared lines" in the pictures?

Post by dguldstrand »

Bellow is the original image.
Image

EDIT: I tried with the same file, but in GIF and PNG-format, and i can't see any smeared lines on thoose images.
So it seems, that theare a some issues with jpeg-images.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: "Smeared lines" in the pictures?

Post by fmw42 »

It is then likely to be due to your libjpeg. You may need to upgrade that.

I do not have any problem converting your jpg input to another jpg using IM 6.8.3.7 Q16 Mac OSX Snow Leopard.

Type convert -list format and look at the version it shows:


JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (80)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (80)


This is version 8 and you may have version 6 or 7 or perhaps it is not correctly installed.
dguldstrand
Posts: 7
Joined: 2013-03-05T10:41:31-07:00
Authentication code: 6789
Location: Orebro, Sweden

Re: "Smeared lines" in the pictures?

Post by dguldstrand »

fmw42 wrote:Type convert -list format and look at the version it shows:


JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (80)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (80)


This is version 8 and you may have version 6 or 7 or perhaps it is not correctly installed.
Yes, it seems that i have old versions installed.
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (62)

Not sure if there are newer versions for Debian, thoo.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: "Smeared lines" in the pictures?

Post by fmw42 »

check to see if you have more than one version of libjpg. there could be a conflict.

find /usr | grep "libjpeg"
find /opt | grep "libjpeg"
dguldstrand
Posts: 7
Joined: 2013-03-05T10:41:31-07:00
Authentication code: 6789
Location: Orebro, Sweden

Re: "Smeared lines" in the pictures?

Post by dguldstrand »

fmw42 wrote:check to see if you have more than one version of libjpg. there could be a conflict.

find /usr | grep "libjpeg"
find /opt | grep "libjpeg"
Yes, it seems that i have both version 6 and 8 installed.
I tried to removed them both, and then i installed libjpeg8, but the old version is still there.
root@jupiter:~# find /usr | grep "libjpeg"
/usr/lib/libjpeg.so.8
/usr/lib/libjpeg.so.8.0.2
/usr/lib/libjpeg.so.62
/usr/lib/libjpeg.so.62.0.0
/usr/share/doc/libjpeg62
/usr/share/doc/libjpeg62/copyright
/usr/share/doc/libjpeg62/changelog.gz
/usr/share/doc/libjpeg62/README.gz
/usr/share/doc/libjpeg62/changelog.Debian.gz
/usr/share/doc/libjpeg8
/usr/share/doc/libjpeg8/copyright
/usr/share/doc/libjpeg8/changelog.gz
/usr/share/doc/libjpeg8/README.gz
/usr/share/doc/libjpeg8/changelog.Debian.gz
dguldstrand
Posts: 7
Joined: 2013-03-05T10:41:31-07:00
Authentication code: 6789
Location: Orebro, Sweden

Re: "Smeared lines" in the pictures?

Post by dguldstrand »

"convert -list format" says that i´m still using the old version instead of version 8.
How to fix that?
JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: "Smeared lines" in the pictures?

Post by fmw42 »

I would think you need to clean out all of the 62 version, be sure you have clean version of 80 that is properly installed and reinstall IM
dguldstrand
Posts: 7
Joined: 2013-03-05T10:41:31-07:00
Authentication code: 6789
Location: Orebro, Sweden

Re: "Smeared lines" in the pictures?

Post by dguldstrand »

fmw42 wrote:I would think you need to clean out all of the 62 version, be sure you have clean version of 80 that is properly installed and reinstall IM
Well, i have allready tried to uninstall/remove the old version, but it seems it's "bundled" with lots of other applications.
So i can't just remove it, right? :?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: "Smeared lines" in the pictures?

Post by fmw42 »

Well, i have allready tried to uninstall/remove the old version, but it seems it's "bundled" with lots of other applications.
So i can't just remove it, right?
Yes that may be true. Sorry, I am not sure how to recompile IM and tell it which version of libjpeg to use. Check the config options at http://www.imagemagick.org/script/advan ... lation.php
Post Reply