Skip to content

Commit

Permalink
webp-to-png@tomunek: create webp-to-png@tomunek nemo action (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomunek authored Jun 1, 2024
1 parent b67ebfd commit a6d0013
Show file tree
Hide file tree
Showing 9 changed files with 102 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webp-to-png@tomunek/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### 1.0

* Initial release
11 changes: 11 additions & 0 deletions webp-to-png@tomunek/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# WEBP to PNG

Convert selected image from WEBP to PNG.

## Description

This action helps you easily convert WEBP files downloaded from the internet to a more usable PNG format.

## Dependencies

- ffmpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions webp-to-png@tomunek/files/webp-to-png@tomunek/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"description": "Convert WEBP file to PNG",
"uuid": "webp-to-png@tomunek",
"name": "Convert WEBP to PNG",
"author": "tomunek",
"version": "1.0"
}
34 changes: 34 additions & 0 deletions webp-to-png@tomunek/files/webp-to-png@tomunek/po/pl.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# WEBP to PNG.
# This file is put in the public domain.
# tomunek <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: webp-to-png@tomunek 1.0\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-actions/"
"issues\n"
"POT-Creation-Date: 2024-06-01 22:38+0200\n"
"PO-Revision-Date: 2024-06-01 20:41+0000\n"
"Last-Translator: tomunek <EMAIL@ADDRESS>\n"
"Language-Team: \n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. metadata.json->description
msgid "Convert WEBP file to PNG"
msgstr "Konwertuj plik WEBP do PNG"

#. metadata.json->name
msgid "Convert WEBP to PNG"
msgstr "Konwertuj WEBP do PNG"

#. webp-to-png@tomunek.nemo_action.in->Name
msgid "Convert to PNG"
msgstr "Konwertuj do PNG"

#. webp-to-png@tomunek.nemo_action.in->Comment
msgid "Convert selected WEBP file to PNG"
msgstr "Konwertuj zaznaczony plik WEBP do PNG"
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# WEBP to PNG.
# This file is put in the public domain.
# tomunek <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: webp-to-png@tomunek 1.0\n"
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-actions/"
"issues\n"
"POT-Creation-Date: 2024-06-01 22:38+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#. metadata.json->description
msgid "Convert WEBP file to PNG"
msgstr ""

#. metadata.json->name
msgid "Convert WEBP to PNG"
msgstr ""

#. webp-to-png@tomunek.nemo_action.in->Name
msgid "Convert to PNG"
msgstr ""

#. webp-to-png@tomunek.nemo_action.in->Comment
msgid "Convert selected WEBP file to PNG"
msgstr ""
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
ffmpeg -i "$1" "${1%.webp}".png
3 changes: 3 additions & 0 deletions webp-to-png@tomunek/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"author": "tomunek"
}
8 changes: 8 additions & 0 deletions webp-to-png@tomunek/webp-to-png@tomunek.nemo_action.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Nemo Action]
_Name=Convert to PNG
_Comment=Convert selected WEBP file to PNG
Exec=<webp-to-png@tomunek/webp-to-png@tomunek.sh %F>
Icon-Name=document-properties-symbolic
Selection=s
Extensions=webp;
Dependencies=ffmpeg;

0 comments on commit a6d0013

Please sign in to comment.