Anciennes révisionsLiens de retourExporter en PDFHaut de page Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditDerniers changementsSend via e-MailImprimerPermalien × webp2jpg.sh: mass converter webp to jpg image files required: rename if not installed, do a: sudo apt-get install rename #! /usr/bin/bash ########################################################################### # Script to convert webp to jpg image files # # Usage: webp2jpg.sh # # # # Copyright information # # # # Copyright (C) 2020-2025 Fred Radeff <fradeff@akademia.ch> # # # # License # # # # This program is free software; you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # # the Free Software Foundation; either version 2 of the License, or # # (at your option) any later version. # # # # This program is distributed in the hope that it will be useful, # # but WITHOUT ANY WARRANTY; without even the implied warranty of # # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # # GNU General Public License for more details. # # # # GNU General Public License: https://www.gnu.org/licenses/gpl-3.0.txt # # # ########################################################################### ls *.webp | while read i do echo converting $i convert $i $i.jpg done rename 's/.webp//g' *.jpg rm *.webp info/webp2jpg.txt Dernière modification : 2020/12/03 06:14de radeff S'identifier