Closed RPeters52 closed 2 years ago
Not sure why you closed this issue but you may work-around the problem by adding .webp to the list of recognized image extensions in the llgalrc config file. Putting this line in ${HOME}/.llgal/llgalrc should work:
image_extensions = "jpg|jpeg|gif|png|tif|tiff|bmp|webp"
Hi Brice!
THANKS for the amazingly fast response! I will give it a try!
I looked and I did not find a llgalrc file anywhere on my system, except the following,,, locate llgalrc /usr/share/doc/llgal/llgalrc.gz /usr/share/man/man5/llgalrc.5.gz Should I unzip one of them and use it? with your addition?
If I read a webp file with llgal, will it then make webp files for "scaled" and "thumb"? Probably, but I am just wondering...😀
My "workaround" was a bit ugly, involving bash scripts...
BTW, I didn't mean to close the issue. Who knows what I was doing lata yesterday....😂
I will give this a try later today!
Thanks again, Ralph Peters in sunny Albuquerque, New Mexico where the monsoon rains are making things green
On Mon, Jul 25, 2022 at 7:35 AM Brice Goglin @.***> wrote:
Not sure why you closed this issue but you may work-around the problem by adding .webp to the list of recognized image extensions in the llgalrc config file. Putting this line in ${HOME}/.llgal/llgalrc should work:
image_extensions = "jpg|jpeg|gif|png|tif|tiff|bmp|webp"
— Reply to this email directly, view it on GitHub https://github.com/bgoglin/llgal/issues/9#issuecomment-1194057112, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPHAKJBJXLP5TDUZMPFJPDVV2J3PANCNFSM54QS733A . You are receiving this because you modified the open/close state.Message ID: @.***>
There's no config file unless you decide to modify any default configuration. So just create $HOME/.llgal directory, create an empty file $HOME/.llgal/llgalrc and put my line in it. That line will replace the default list of image extensions, all other options will keep their default values.
The llgalrc.gz files that you found are documentation and manpages only.
As long as you have imagemagick installed (convert
command), it will take care of creating webp files for scaled and thumb (as long as imagemagick understands webp format, but I guess it does).
Hi,
Thanks again for the quick response! I will give it a try in an hour or 3 as I am in for the afternoon!
Ralph Peters
BTW llgal is, IMHO, fantastic. If you wander over to the CSSNM website, you will see lots of picture galleries that I made with llgal. The set of picture galleries by Siegfried L is the largest, but it is used for a lot of other topics. llgal examples: https://www.new-mexico.cactus-society.org/SiegfriedLodwig/index.html https://www.new-mexico.cactus-society.org/Presentations/LaurelSillerud/Garden/index.html https://www.new-mexico.cactus-society.org/cdocs/ABQBotGardenShow/index.html
On Mon, Jul 25, 2022 at 9:59 AM Brice Goglin @.***> wrote:
There's no config file unless you decide to modify any default configuration. So just create $HOME/.llgal, create an empty file $HOME/.llgal/llgalrc and put my line in it. That line will replace the default list of image extensions, all other options will keep their default values.
The llgalrc.gz files that you found are documentation and manpages only.
As long as you have imagemagick installed (convert command), it will take care of creating webp files for scaled and thumb (as long as imagemagick understands webp format, but I guess it does).
— Reply to this email directly, view it on GitHub https://github.com/bgoglin/llgal/issues/9#issuecomment-1194280457, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPHAKNIPTKC6WCJBPHB7BLVV22XPANCNFSM54QS733A . You are receiving this because you modified the open/close state.Message ID: @.***>
Hi,
IT works fine! Thanks for your help!
Ralph
On Mon, Jul 25, 2022 at 1:00 PM Ralph Peters @.***> wrote:
Hi,
Thanks again for the quick response! I will give it a try in an hour or 3 as I am in for the afternoon!
Ralph Peters
BTW llgal is, IMHO, fantastic. If you wander over to the CSSNM website, you will see lots of picture galleries that I made with llgal. The set of picture galleries by Siegfried L is the largest, but it is used for a lot of other topics. llgal examples: https://www.new-mexico.cactus-society.org/SiegfriedLodwig/index.html
https://www.new-mexico.cactus-society.org/Presentations/LaurelSillerud/Garden/index.html https://www.new-mexico.cactus-society.org/cdocs/ABQBotGardenShow/index.html
On Mon, Jul 25, 2022 at 9:59 AM Brice Goglin @.***> wrote:
There's no config file unless you decide to modify any default configuration. So just create $HOME/.llgal, create an empty file $HOME/.llgal/llgalrc and put my line in it. That line will replace the default list of image extensions, all other options will keep their default values.
The llgalrc.gz files that you found are documentation and manpages only.
As long as you have imagemagick installed (convert command), it will take care of creating webp files for scaled and thumb (as long as imagemagick understands webp format, but I guess it does).
— Reply to this email directly, view it on GitHub https://github.com/bgoglin/llgal/issues/9#issuecomment-1194280457, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPHAKNIPTKC6WCJBPHB7BLVV22XPANCNFSM54QS733A . You are receiving this because you modified the open/close state.Message ID: @.***>
Hi Brice,
FYI!, Switching from jpeg files (optimized via jpegoptim) to webp has reduced one set of picture galleries (~6300 files including html files and pic files) from 293 M to 101 M with no noticeable difference even at 300% zoom on the pictures.
Ralph Peters
On Mon, Jul 25, 2022 at 1:00 PM Ralph Peters @.***> wrote:
Hi,
Thanks again for the quick response! I will give it a try in an hour or 3 as I am in for the afternoon!
Ralph Peters
BTW llgal is, IMHO, fantastic. If you wander over to the CSSNM website, you will see lots of picture galleries that I made with llgal. The set of picture galleries by Siegfried L is the largest, but it is used for a lot of other topics. llgal examples: https://www.new-mexico.cactus-society.org/SiegfriedLodwig/index.html
https://www.new-mexico.cactus-society.org/Presentations/LaurelSillerud/Garden/index.html https://www.new-mexico.cactus-society.org/cdocs/ABQBotGardenShow/index.html
On Mon, Jul 25, 2022 at 9:59 AM Brice Goglin @.***> wrote:
There's no config file unless you decide to modify any default configuration. So just create $HOME/.llgal, create an empty file $HOME/.llgal/llgalrc and put my line in it. That line will replace the default list of image extensions, all other options will keep their default values.
The llgalrc.gz files that you found are documentation and manpages only.
As long as you have imagemagick installed (convert command), it will take care of creating webp files for scaled and thumb (as long as imagemagick understands webp format, but I guess it does).
— Reply to this email directly, view it on GitHub https://github.com/bgoglin/llgal/issues/9#issuecomment-1194280457, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPHAKNIPTKC6WCJBPHB7BLVV22XPANCNFSM54QS733A . You are receiving this because you modified the open/close state.Message ID: @.***>
BTW llgal is, IMHO, fantastic. If you wander over to the CSSNM website, you will see lots of picture galleries that I made with llgal.
Wow! That is impressive loading speed!! I want to try this :)
I found my way here from an article here: sha256.net
llgal doesn't recognize webp as a picture file! That is tooo bad because webp files are 30% to 40% of the size of the equivalent quality jpeg files! That is a big deal when you have many picture files.
SEE https://www.new-mexico.cactus-society.org/SiegfriedLodwig/index.html
Any chance that webp can be added??