Re: LyX does work with ImageMagick 7

2016-05-23 Thread Guenter Milde
On 2016-05-23, Uwe Stöhr wrote:
> Am 21.05.2016 um 11:27 schrieb Georg Baum:

...

>> 2) LyX works perfectly with Imagemagick 7. I tested that without the
>> convert symlink. I could not see any difference to IM 6 (and I made sure
>> I deleted the image cache and reconfigured). I guess what might have
>> lead to the assumption that IM 7 does not work is the fact that the info
>> inset produces text output for .svgz images, but an image link for .png
>> images. This should be changed, modern browsers support svg (but may
>> need uncompressing, I don't know).

> Yes, the latest Firefox can display SVG but not SVGZ. Googling around it 
> turns out that this is the same for IE and Safari.
> I only found this as solution:
> http://graphicdesign.stackexchange.com/questions/24797/when-should-i-use-svg-or-svgz-for-my-web-graphics

IMO, LyX's HTML export should convert svgz to svg then.

We could also consider to convert other vector graphics like PDF to SVG.


Günter



Re: LyX does work with ImageMagick 7

2016-05-22 Thread Uwe Stöhr

Am 21.05.2016 um 11:27 schrieb Georg Baum:


now I found some time to test and it turned out that some information in
this thread is wrong. Therefore I removed the warning from release notes
again.


I would keep it there until we got reports that it really works on all 3 
platforms, MacOS, Linux and Windows.



1) Imagemagick 7 does still contain the 'convert' utility. If you
install from source on unix, it is simply a symlink to 'magick'. If you
use the binary installer on windows, you need to tick the "Install
legacy utilities" option in order to install a convert.exe along
magick.exe (but for LyX this is no longer needed since we prefer
'magick' if it is available).


Interesting.


2) LyX works perfectly with Imagemagick 7. I tested that without the
convert symlink. I could not see any difference to IM 6 (and I made sure
I deleted the image cache and reconfigured). I guess what might have
lead to the assumption that IM 7 does not work is the fact that the info
inset produces text output for .svgz images, but an image link for .png
images. This should be changed, modern browsers support svg (but may
need uncompressing, I don't know).


Yes, the latest Firefox can display SVG but not SVGZ. Googling around it 
turns out that this is the same for IE and Safari.

I only found this as solution:
http://graphicdesign.stackexchange.com/questions/24797/when-should-i-use-svg-or-svgz-for-my-web-graphics

regards Uwe


Re: LyX does work with ImageMagick 7

2016-05-21 Thread Scott Kostyshak
On Sat, May 21, 2016 at 11:27:27AM +0200, Georg Baum wrote:
> Hi,
> 
> now I found some time to test and it turned out that some information in
> this thread is wrong. Therefore I removed the warning from release notes
> again.
> 
> 1) Imagemagick 7 does still contain the 'convert' utility. If you install
> from source on unix, it is simply a symlink to 'magick'. If you use the
> binary installer on windows, you need to tick the "Install legacy utilities"
> option in order to install a convert.exe along magick.exe (but for LyX this
> is no longer needed since we prefer 'magick' if it is available).
> 
> 2) LyX works perfectly with Imagemagick 7. I tested that without the convert
> symlink. I could not see any difference to IM 6 (and I made sure I deleted
> the image cache and reconfigured). I guess what might have lead to the
> assumption that IM 7 does not work is the fact that the info inset produces
> text output for .svgz images, but an image link for .png images. This should
> be changed, modern browsers support svg (but may need uncompressing, I don't
> know).

Good to know that 2.2.0 is expected to work with IM 7.

Scott


signature.asc
Description: PGP signature


LyX does work with ImageMagick 7

2016-05-21 Thread Georg Baum

Hi,

now I found some time to test and it turned out that some information in 
this thread is wrong. Therefore I removed the warning from release notes 
again.


1) Imagemagick 7 does still contain the 'convert' utility. If you 
install from source on unix, it is simply a symlink to 'magick'. If you 
use the binary installer on windows, you need to tick the "Install 
legacy utilities" option in order to install a convert.exe along 
magick.exe (but for LyX this is no longer needed since we prefer 
'magick' if it is available).


2) LyX works perfectly with Imagemagick 7. I tested that without the 
convert symlink. I could not see any difference to IM 6 (and I made sure 
I deleted the image cache and reconfigured). I guess what might have 
lead to the assumption that IM 7 does not work is the fact that the info 
inset produces text output for .svgz images, but an image link for .png 
images. This should be changed, modern browsers support svg (but may 
need uncompressing, I don't know).



Georg