[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
writing jpg files.
From: |
Laurent Hoeltgen |
Subject: |
writing jpg files. |
Date: |
Wed, 15 Oct 2014 16:40:25 +0200 |
User-agent: |
KMail/4.13.3 (Linux/3.13.0-24-generic; KDE/4.13.3; x86_64; ; ) |
Hi,
I believe I have encountered this bug:
http://octave.1599824.n4.nabble.com/Octave-3-8-0-imread-and-imwrite-td4662155.html
Since I couldn't find the solution, I'm asking again.
The following code results in 2 different images.
I = [0, 1 ; 1 0];
imwrite (I, 'wrong.jpg', 'Quality', 100)
imwrite (I, 'good.png')
The jpg image is badly scaled. The pixel values are too dark. The png file is
correct. In addition I get the following warning:
warning: your version of GraphicsMagick limits images to 8 bits per pixel
when the images are written.
I have the same issues with other images that I write to jpg. Does anybody
have an idea what is causing this?
I'm running octave 3.8.1, GraphicsMagick 1.3.18 2013-03-10 Q8 on the latest
Linux Mint release.
Regards,
Laurent
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- writing jpg files.,
Laurent Hoeltgen <=