* image converter and resizer @ 2023-03-17 16:43 Gottfried 2023-03-17 16:55 ` Felix Lechner via 2023-03-17 16:59 ` Luis Felipe 0 siblings, 2 replies; 22+ messages in thread From: Gottfried @ 2023-03-17 16:43 UTC (permalink / raw) To: help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 282 bytes --] Hi, which package is useful and easy to use to convert and resize images in Guix? I mean to reduce the size of the photo. The programme : converseen (image converter and resizer) is not packed for Guix. So I am looking for an other one. -- Kind regards Gottfried [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-17 16:43 image converter and resizer Gottfried @ 2023-03-17 16:55 ` Felix Lechner via 2023-03-17 17:04 ` Luis Felipe 2023-03-17 16:59 ` Luis Felipe 1 sibling, 1 reply; 22+ messages in thread From: Felix Lechner via @ 2023-03-17 16:55 UTC (permalink / raw) To: Gottfried; +Cc: help-guix Hi Gottfried, On Fri, Mar 17, 2023 at 9:44 AM Gottfried <gottfried@posteo.de> wrote: > > which package is useful and easy to use to convert and resize images in > Guix? The generic way to manipulate images in Linux (especially with scripts) is probably imagemagick, but your time is probably better spent learning GIMP, if you haven't. It's great! Kind regards Felix Lechner ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-17 16:55 ` Felix Lechner via @ 2023-03-17 17:04 ` Luis Felipe 2023-03-17 17:10 ` Felix Lechner via 2023-03-18 11:13 ` Gottfried 0 siblings, 2 replies; 22+ messages in thread From: Luis Felipe @ 2023-03-17 17:04 UTC (permalink / raw) To: Felix Lechner, Gottfried; +Cc: help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 494 bytes --] Ah, Felix beat me to it :) El 17/03/23 a las 16:55, Felix Lechner via escribió: > Hi Gottfried, > > On Fri, Mar 17, 2023 at 9:44 AM Gottfried <gottfried@posteo.de> wrote: >> which package is useful and easy to use to convert and resize images in >> Guix? > The generic way to manipulate images in Linux (especially with > scripts) is probably imagemagick, but your time is probably better > spent learning GIMP, if you haven't. It's great! > > Kind regards > Felix Lechner > [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 2881 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 495 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-17 17:04 ` Luis Felipe @ 2023-03-17 17:10 ` Felix Lechner via 2023-03-18 11:13 ` Gottfried 1 sibling, 0 replies; 22+ messages in thread From: Felix Lechner via @ 2023-03-17 17:10 UTC (permalink / raw) To: Luis Felipe; +Cc: Gottfried, help-guix Actually, Felipe knows a lot more about images in Guix. He designed most of the artwork for Guix. All of it is exceptional! It is Gottfried's privilege, dear Felipe, to receive your response; and mine to have a modest piece of advice to be confirmed so quickly by an expert! Gottfried, meet Felipe! ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-17 17:04 ` Luis Felipe 2023-03-17 17:10 ` Felix Lechner via @ 2023-03-18 11:13 ` Gottfried 2023-03-18 15:28 ` Luis Felipe 1 sibling, 1 reply; 22+ messages in thread From: Gottfried @ 2023-03-18 11:13 UTC (permalink / raw) To: Luis Felipe, Felix Lechner; +Cc: help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 1202 bytes --] Hi, thanks for the answer I heard gimp is a big programme, and of course I can install it, but I thought I don’t need such a big programme because to learn it takes a lot of time, and I don’t want to spend much time for learning it now, because I don’t need it for the moment. I need only a small programme to convert images to a smaller size. (image converter and resizer) I installed converseen on an other laptop in Trisquel and it works. converseen can resize more images at once. Imagemagick can only one image resize at once. Can gimp resize more images at once? Kind regards Gottfried Am 17.03.23 um 18:04 schrieb Luis Felipe: > Ah, Felix beat me to it :) > > El 17/03/23 a las 16:55, Felix Lechner via escribió: >> Hi Gottfried, >> >> On Fri, Mar 17, 2023 at 9:44 AM Gottfried <gottfried@posteo.de> wrote: >>> which package is useful and easy to use to convert and resize images in >>> Guix? >> The generic way to manipulate images in Linux (especially with >> scripts) is probably imagemagick, but your time is probably better >> spent learning GIMP, if you haven't. It's great! >> >> Kind regards >> Felix Lechner >> -- [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-18 11:13 ` Gottfried @ 2023-03-18 15:28 ` Luis Felipe 2023-03-18 16:43 ` Gottfried 0 siblings, 1 reply; 22+ messages in thread From: Luis Felipe @ 2023-03-18 15:28 UTC (permalink / raw) To: Gottfried, Felix Lechner; +Cc: help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 799 bytes --] El 18/03/23 a las 11:13, Gottfried escribió: > I need only a small programme > to convert images to a smaller size. (image converter and resizer) > > I installed converseen on an other laptop in Trisquel > and it works. > converseen can resize more images at once. Ah, I see now that converseen is a graphical program for batch processing of images. I'm not aware of any equivalent program in Guix. > > Imagemagick can only one image resize at once. No, it does batch processing as well. I don't know what's your exact need, but there is an example of batch resizing in https://stackoverflow.com/questions/56305138/. > > Can gimp resize more images at once? From a quick search on the Web, it seems it can, but apparently not as straightforwardly as with converseen. [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 2881 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 495 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-18 15:28 ` Luis Felipe @ 2023-03-18 16:43 ` Gottfried 2023-03-18 17:20 ` Andreas Enge 2023-03-18 18:20 ` Luis Felipe 0 siblings, 2 replies; 22+ messages in thread From: Gottfried @ 2023-03-18 16:43 UTC (permalink / raw) To: Luis Felipe, Felix Lechner; +Cc: help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 1437 bytes --] Hi, thanks very much for your help. I prefer a graphical programme, at the moment it is easier for me. AFAIU imagemagick is a commandline programme. In trisquel I can use imagemagick as a graphical programme. In Guix there is no package: "imagemagick" only: "perl-image-magick 6.89" Is this the package in Guix for using imagemagick via commandline? There is another package in Guix for the commandline: "imgp" but as I said, I prefer a graphical programme, so may be "gimp" is the solution. Kind regards Gottfried Am 18.03.23 um 16:28 schrieb Luis Felipe: > El 18/03/23 a las 11:13, Gottfried escribió: >> I need only a small programme >> to convert images to a smaller size. (image converter and resizer) >> >> I installed converseen on an other laptop in Trisquel >> and it works. >> converseen can resize more images at once. > > Ah, I see now that converseen is a graphical program for batch > processing of images. I'm not aware of any equivalent program in Guix. > >> >> Imagemagick can only one image resize at once. > > No, it does batch processing as well. I don't know what's your exact > need, but there is an example of batch resizing in > https://stackoverflow.com/questions/56305138/. > >> >> Can gimp resize more images at once? > From a quick search on the Web, it seems it can, but apparently not as > straightforwardly as with converseen. -- [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-18 16:43 ` Gottfried @ 2023-03-18 17:20 ` Andreas Enge 2023-03-18 17:57 ` Nicolas Goaziou 2023-03-21 6:17 ` Gottfried 2023-03-18 18:20 ` Luis Felipe 1 sibling, 2 replies; 22+ messages in thread From: Andreas Enge @ 2023-03-18 17:20 UTC (permalink / raw) To: Gottfried; +Cc: Luis Felipe, Felix Lechner, help-guix Hello, Am Sat, Mar 18, 2023 at 04:43:45PM +0000 schrieb Gottfried: > In Guix there is no package: "imagemagick" yes there is! guix build imagemagick /gnu/store/gxggf8rsxd6l3rxi90d8qgsllzav1ycn-imagemagick-6.9.12-4-doc /gnu/store/0b9yq69kk25si62rcaixx2c0ir6n5xvj-imagemagick-6.9.12-4 I had a quick look at converseen. It requires the qtlinguist package, which we do not have in Guix. Andreas ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-18 17:20 ` Andreas Enge @ 2023-03-18 17:57 ` Nicolas Goaziou 2023-03-21 6:24 ` Gottfried 2023-03-21 6:17 ` Gottfried 1 sibling, 1 reply; 22+ messages in thread From: Nicolas Goaziou @ 2023-03-18 17:57 UTC (permalink / raw) To: Andreas Enge; +Cc: Gottfried, Luis Felipe, Felix Lechner, help-guix Hello, Andreas Enge <andreas@enge.fr> writes: > I had a quick look at converseen. It requires the qtlinguist package, > which we do not have in Guix. qtlinguist belongs to qttools, doesn't it? The main issue in properly packaging converseen is, IMO, to remove the (auto)update code all over the place. For the record, here's a draft, without the check updates cleanup: --8<---------------cut here---------------start------------->8--- (define-public converseen (package (name "converseen") (version "0.9.11.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Faster3ck/Converseen") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0nxvac8df47gxg1klqlz0s3rxl0ykrikmciniwkb938bgilmaijm")))) (build-system cmake-build-system) (arguments (list #:tests? #false ;no tests #:phases #~(modify-phases %standard-phases (add-after 'unpack 'set-translations-location ;; Fix translations location. (lambda _ (substitute* "src/translator.cpp" (("QString\\(\"%1/share/converseen/loc\"\\).arg\\(rootPath\\)") (string-append "QString(\"" #$output "/share/converseen/loc\")"))))) ;; (add-after 'unpack 'disable-updates-checks ;; ;; Disable "Check for updates" since there's no use for it ;; ;; in Guix and we don't want software to phone home. ;; (lambda _ ;; (error "foo"))) ))) (native-inputs (list pkg-config qttools-5)) (inputs (list imagemagick qtbase-5)) (home-page "https://converseen.fasterland.net/") (synopsis "Batch image converter and resizer") (description "Converseen is an image batch conversion tool. You can resize and convert images in more than 100 different formats.") (license license:gpl3+))) --8<---------------cut here---------------end--------------->8--- Regards, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-18 17:57 ` Nicolas Goaziou @ 2023-03-21 6:24 ` Gottfried 2023-03-21 13:47 ` Csepp 0 siblings, 1 reply; 22+ messages in thread From: Gottfried @ 2023-03-21 6:24 UTC (permalink / raw) To: Nicolas Goaziou, Andreas Enge; +Cc: Luis Felipe, Felix Lechner, help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 2984 bytes --] Hi, thanks for your help. converseen is a nice and easy to use programme, in which you can convert an image/picture/photo with some klicks. And also many images at once. You simply choose/load all the images, tick them, and with one other tick you convert all of them at once in choosing beforehand how much and to what kind you would like to convert them. So if it doesn’t take too much time for somebody to build it for Guix I would be happy. Kind regards Gottfried Am 18.03.23 um 18:57 schrieb Nicolas Goaziou: > Hello, > > Andreas Enge <andreas@enge.fr> writes: > >> I had a quick look at converseen. It requires the qtlinguist package, >> which we do not have in Guix. > > qtlinguist belongs to qttools, doesn't it? > > The main issue in properly packaging converseen is, IMO, to remove the > (auto)update code all over the place. > > For the record, here's a draft, without the check updates cleanup: > > --8<---------------cut here---------------start------------->8--- > (define-public converseen > (package > (name "converseen") > (version "0.9.11.1") > (source (origin > (method git-fetch) > (uri (git-reference > (url "https://github.com/Faster3ck/Converseen") > (commit (string-append "v" version)))) > (file-name (git-file-name name version)) > (sha256 > (base32 > "0nxvac8df47gxg1klqlz0s3rxl0ykrikmciniwkb938bgilmaijm")))) > (build-system cmake-build-system) > (arguments > (list > #:tests? #false ;no tests > #:phases > #~(modify-phases %standard-phases > (add-after 'unpack 'set-translations-location > ;; Fix translations location. > (lambda _ > (substitute* "src/translator.cpp" > (("QString\\(\"%1/share/converseen/loc\"\\).arg\\(rootPath\\)") > (string-append "QString(\"" > #$output > "/share/converseen/loc\")"))))) > ;; (add-after 'unpack 'disable-updates-checks > ;; ;; Disable "Check for updates" since there's no use for it > ;; ;; in Guix and we don't want software to phone home. > ;; (lambda _ > ;; (error "foo"))) > ))) > (native-inputs > (list pkg-config qttools-5)) > (inputs > (list imagemagick qtbase-5)) > (home-page "https://converseen.fasterland.net/") > (synopsis "Batch image converter and resizer") > (description > "Converseen is an image batch conversion tool. You can resize and > convert images in more than 100 different formats.") > (license license:gpl3+))) > --8<---------------cut here---------------end--------------->8--- > > Regards, [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-21 6:24 ` Gottfried @ 2023-03-21 13:47 ` Csepp 2023-03-22 13:49 ` Gottfried 2023-04-22 10:14 ` Gottfried 0 siblings, 2 replies; 22+ messages in thread From: Csepp @ 2023-03-21 13:47 UTC (permalink / raw) To: Gottfried Cc: Nicolas Goaziou, Andreas Enge, Luis Felipe, Felix Lechner, help-guix [-- Attachment #1: Type: text/plain, Size: 667 bytes --] Gottfried <gottfried@posteo.de> writes: > [[PGP Signed Part:Undecided]] > Hi, > > thanks for your help. > > converseen is a nice and easy to use programme, > in which you can convert an image/picture/photo with some klicks. > > And also many images at once. > > You simply choose/load all the images, tick them, > > and with one other tick you convert all of them at once > in choosing beforehand how much and to what kind you would like to > convert them. > > So if it doesn’t take too much time for somebody to build it for Guix > I would be happy. Not a proper upstreamable package yet, but you can build it locally in a few minutes: [-- Attachment #2: package definition --] [-- Type: application/octet-stream, Size: 940 bytes --] (use-modules (guix packages) (guix git-download) (guix build-system qt) (gnu packages imagemagick) (gnu packages qt) (gnu packages pkg-config)) (define-public converseen (package (name "converseen") (version "0.9.11.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Faster3ck/Converseen") (commit (string-append "v" version)))) (sha256 (base32 "0nxvac8df47gxg1klqlz0s3rxl0ykrikmciniwkb938bgilmaijm")))) (build-system qt-build-system) ;; doesn't seem to have tests (arguments '(#:tests? #f)) (inputs (list imagemagick ;; TODO should this be a native input? qttools-5)) (native-inputs (list pkg-config)) (synopsis "Batch image converter and resizer") (home-page "https://converseen.fasterland.net/") (description #f) (license #f))) converseen [-- Attachment #3: Type: text/plain, Size: 93 bytes --] Save it as converseen.scm, install it with: guix package --install-from-file=converseen.scm ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-21 13:47 ` Csepp @ 2023-03-22 13:49 ` Gottfried 2023-04-22 10:14 ` Gottfried 1 sibling, 0 replies; 22+ messages in thread From: Gottfried @ 2023-03-22 13:49 UTC (permalink / raw) To: Csepp; +Cc: Nicolas Goaziou, Andreas Enge, Luis Felipe, Felix Lechner, help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 948 bytes --] Hi, thank you very much. I installed it, and it works great Kind regards Gottfried Am 21.03.23 um 14:47 schrieb Csepp: > > Gottfried <gottfried@posteo.de> writes: > >> [[PGP Signed Part:Undecided]] >> Hi, >> >> thanks for your help. >> >> converseen is a nice and easy to use programme, >> in which you can convert an image/picture/photo with some klicks. >> >> And also many images at once. >> >> You simply choose/load all the images, tick them, >> >> and with one other tick you convert all of them at once >> in choosing beforehand how much and to what kind you would like to >> convert them. >> >> So if it doesn’t take too much time for somebody to build it for Guix >> I would be happy. > > Not a proper upstreamable package yet, but you can build it locally in a > few minutes: > > > > Save it as converseen.scm, install it with: > guix package --install-from-file=converseen.scm -- [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-21 13:47 ` Csepp 2023-03-22 13:49 ` Gottfried @ 2023-04-22 10:14 ` Gottfried 1 sibling, 0 replies; 22+ messages in thread From: Gottfried @ 2023-04-22 10:14 UTC (permalink / raw) To: Csepp, help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 982 bytes --] Hi, thank you very much for packing "converseen" Now it is an "upstreamable package" Kind regards Gottfried Am 21.03.23 um 14:47 schrieb Csepp: > > Gottfried <gottfried@posteo.de> writes: > >> [[PGP Signed Part:Undecided]] >> Hi, >> >> thanks for your help. >> >> converseen is a nice and easy to use programme, >> in which you can convert an image/picture/photo with some klicks. >> >> And also many images at once. >> >> You simply choose/load all the images, tick them, >> >> and with one other tick you convert all of them at once >> in choosing beforehand how much and to what kind you would like to >> convert them. >> >> So if it doesn’t take too much time for somebody to build it for Guix >> I would be happy. > > Not a proper upstreamable package yet, but you can build it locally in a > few minutes: > > > > Save it as converseen.scm, install it with: > guix package --install-from-file=converseen.scm -- [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-18 17:20 ` Andreas Enge 2023-03-18 17:57 ` Nicolas Goaziou @ 2023-03-21 6:17 ` Gottfried 2023-03-21 13:18 ` Csepp 1 sibling, 1 reply; 22+ messages in thread From: Gottfried @ 2023-03-21 6:17 UTC (permalink / raw) To: Andreas Enge; +Cc: Luis Felipe, Felix Lechner, help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 773 bytes --] Hi, I was checking on the guix website among packages, but the package imagemagick didn’t exist there. So how did you know that it is there? Or are there additional packages which are not mentioned there, but you can build them? Kind regards Gottfried Am 18.03.23 um 18:20 schrieb Andreas Enge: > Hello, > > Am Sat, Mar 18, 2023 at 04:43:45PM +0000 schrieb Gottfried: >> In Guix there is no package: "imagemagick" > > yes there is! > > guix build imagemagick > /gnu/store/gxggf8rsxd6l3rxi90d8qgsllzav1ycn-imagemagick-6.9.12-4-doc > /gnu/store/0b9yq69kk25si62rcaixx2c0ir6n5xvj-imagemagick-6.9.12-4 > > I had a quick look at converseen. It requires the qtlinguist package, > which we do not have in Guix. > > Andreas > -- [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-21 6:17 ` Gottfried @ 2023-03-21 13:18 ` Csepp 2023-03-21 16:32 ` Gottfried 0 siblings, 1 reply; 22+ messages in thread From: Csepp @ 2023-03-21 13:18 UTC (permalink / raw) To: Gottfried; +Cc: Andreas Enge, Luis Felipe, Felix Lechner, help-guix Gottfried <gottfried@posteo.de> writes: > [[PGP Signed Part:Undecided]] > Hi, > > I was checking on the guix website among packages, > but the package imagemagick didn’t exist there. > > So how did you know that it is there? > > Or are there additional packages which are not mentioned there, > but you can build them? The package is definitely there. https://packages.guix.gnu.org/search/?query=imagemagick Did you maybe type the wrong name, maybe "magik" instead of "magick"? ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-21 13:18 ` Csepp @ 2023-03-21 16:32 ` Gottfried 2023-03-21 17:40 ` Csepp 0 siblings, 1 reply; 22+ messages in thread From: Gottfried @ 2023-03-21 16:32 UTC (permalink / raw) To: Csepp; +Cc: Andreas Enge, Luis Felipe, Felix Lechner, help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 1103 bytes --] Hi, thanks for your help. > Did you maybe type the wrong name, maybe "magik" instead of "magick"? This could be, even I tried several times and checked the name. I created a manifest with photoflare and imagemagick and both packages were installed. When I enter this profil I can open photoflare, but I can’t open imagemagick. bash doesn’t find it. I don’t know why. I still installed: julia-imagemagick julia-imagemagick-jll but still I can’t open it. Kind regards Gottfried Am 21.03.23 um 14:18 schrieb Csepp: > > Gottfried <gottfried@posteo.de> writes: > >> [[PGP Signed Part:Undecided]] >> Hi, >> >> I was checking on the guix website among packages, >> but the package imagemagick didn’t exist there. >> >> So how did you know that it is there? >> >> Or are there additional packages which are not mentioned there, >> but you can build them? > > The package is definitely there. > https://packages.guix.gnu.org/search/?query=imagemagick > > Did you maybe type the wrong name, maybe "magik" instead of "magick"? -- [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-21 16:32 ` Gottfried @ 2023-03-21 17:40 ` Csepp 2023-03-21 18:43 ` Andreas Enge 2023-03-22 13:57 ` Gottfried 0 siblings, 2 replies; 22+ messages in thread From: Csepp @ 2023-03-21 17:40 UTC (permalink / raw) To: Gottfried; +Cc: Csepp, Andreas Enge, Luis Felipe, Felix Lechner, help-guix Gottfried <gottfried@posteo.de> writes: > [[PGP Signed Part:Undecided]] > Hi, > thanks for your help. > >> Did you maybe type the wrong name, maybe "magik" instead of "magick"? > > This could be, even I tried several times and checked the name. > > > I created a manifest with photoflare and imagemagick > and both packages were installed. > > When I enter this profil > I can open photoflare, > but I can’t open imagemagick. > bash doesn’t find it. > > I don’t know why. > > I still installed: > julia-imagemagick > julia-imagemagick-jll > > but still I can’t open it. Those are for the Julia language, they are not what you want installed. Use the package named "imagemagick". If it still doesn't show up, that might be a bug. I've ran into some weird behavior where packages are reported as installed but aren't visible in the profile. But so far it hasn't happened with guix shell profiles. ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-21 17:40 ` Csepp @ 2023-03-21 18:43 ` Andreas Enge 2023-03-22 14:44 ` Gottfried 2023-03-22 13:57 ` Gottfried 1 sibling, 1 reply; 22+ messages in thread From: Andreas Enge @ 2023-03-21 18:43 UTC (permalink / raw) To: Csepp; +Cc: Gottfried, Luis Felipe, Felix Lechner, help-guix Am Tue, Mar 21, 2023 at 06:40:35PM +0100 schrieb Csepp: > Use the package named "imagemagick". > If it still doesn't show up, that might be a bug. Watch out, it probably does not appear in the desktop environment, and it contains lots of commands with different names. You can do something like this: $ guix build imagemagick /gnu/store/gxggf8rsxd6l3rxi90d8qgsllzav1ycn-imagemagick-6.9.12-4-doc /gnu/store/0b9yq69kk25si62rcaixx2c0ir6n5xvj-imagemagick-6.9.12-4 $ ls /gnu/store/0b9yq69kk25si62rcaixx2c0ir6n5xvj-imagemagick-6.9.12-4/bin animate composite convert identify Magick++-config MagickCore-config mogrify stream compare conjure display import Magick-config MagickWand-config montage Wand-config to see the commands. For instance, display xyz.jpg typed on the command line shows the image, and so on. The user interface (key bindings, mouse behaviour) is also a bit strange (this dates from decades ago). Andreas ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-21 18:43 ` Andreas Enge @ 2023-03-22 14:44 ` Gottfried 0 siblings, 0 replies; 22+ messages in thread From: Gottfried @ 2023-03-22 14:44 UTC (permalink / raw) To: Andreas Enge, Csepp; +Cc: Luis Felipe, Felix Lechner, help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 19779 bytes --] Hi, thanks very much, imagemagick is working when opening my profile, where I installed imagemagick and I type display xyz.jpg than the image of imagemagick shows up and with left and richt mouse clicks different menus show up so it is possible to use it in a graphical way. of course there are command line commands to use it, I but to learn that doesn’t make sense to me. I can use it in a graphical way, will be quicker for me. So thanks for helping me. scrolling down the email are the commands for using imagemagick on the command line kind regards Gottfried Am 21.03.23 um 19:43 schrieb Andreas Enge: > Am Tue, Mar 21, 2023 at 06:40:35PM +0100 schrieb Csepp: >> Use the package named "imagemagick". >> If it still doesn't show up, that might be a bug. > > Watch out, it probably does not appear in the desktop environment, > and it contains lots of commands with different names. You can do > something like this: > > $ guix build imagemagick > /gnu/store/gxggf8rsxd6l3rxi90d8qgsllzav1ycn-imagemagick-6.9.12-4-doc > /gnu/store/0b9yq69kk25si62rcaixx2c0ir6n5xvj-imagemagick-6.9.12-4 > $ ls /gnu/store/0b9yq69kk25si62rcaixx2c0ir6n5xvj-imagemagick-6.9.12-4/bin > animate composite convert identify Magick++-config MagickCore-config mogrify stream > compare conjure display import Magick-config MagickWand-config montage Wand-config > to see the commands. > > For instance, > display xyz.jpg > typed on the command line shows the image, and so on. The user interface > (key bindings, mouse behaviour) is also a bit strange (this dates from > decades ago). > > Andreas > here are the commands if somebody is interested in them: by: "convert xyz.jpg" e.g. the commands show up: gfp@Tuxedo ~ [env]$ convert xyz.jpg Version: ImageMagick 6.9.12-4 Q16 x86_64 2021-03-20 https://imagemagick.org Copyright: (C) 1999-2021 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC OpenMP(4.5) Delegates (built-in): bzlib fftw fontconfig freetype gvc jng jpeg lcms lzma pangocairo png tiff x xml zlib Usage: convert [options ...] file [ [options ...] file ...] [options ...] file Image Settings: -adjoin join images into a single multi-image file -affine matrix affine transform matrix -alpha option activate, deactivate, reset, or set the alpha channel -antialias remove pixel-aliasing -authenticate password decipher image with this password -attenuate value lessen (or intensify) when adding noise to an image -background color background color -bias value add bias when convolving an image -black-point-compensation use black point compensation -blue-primary point chromaticity blue primary point -bordercolor color border color -caption string assign a caption to an image -channel type apply option to select image channels -clip-mask filename associate a clip mask with the image -colors value preferred number of colors in the image -colorspace type alternate image colorspace -comment string annotate image with comment -compose operator set image composite operator -compress type type of pixel compression when writing the image -define format:option define one or more image format options -delay value display the next image after pausing -density geometry horizontal and vertical density of the image -depth value image depth -direction type render text right-to-left or left-to-right -display server get image or font from this X server -dispose method layer disposal method -dither method apply error diffusion to image -encoding type text encoding type -endian type endianness (MSB or LSB) of the image -family name render text with this font family -fill color color to use when filling a graphic primitive -filter type use this filter when resizing an image -font name render text with this font -format "string" output formatted image characteristics -fuzz distance colors within this distance are considered equal -gravity type horizontal and vertical text placement -green-primary point chromaticity green primary point -intensity method method to generate intensity value from pixel -intent type type of rendering intent when managing the image color -interlace type type of image interlacing scheme -interline-spacing value set the space between two text lines -interpolate method pixel color interpolation method -interword-spacing value set the space between two words -kerning value set the space between two letters -label string assign a label to an image -limit type value pixel cache resource limit -loop iterations add Netscape loop extension to your GIF animation -mask filename associate a mask with the image -matte store matte channel if the image has one -mattecolor color frame color -moments report image moments -monitor monitor progress -orient type image orientation -page geometry size and location of an image canvas (setting) -ping efficiently determine image attributes -pointsize value font point size -precision value maximum number of significant digits to print -preview type image preview type -quality value JPEG/MIFF/PNG compression level -quiet suppress all warning messages -red-primary point chromaticity red primary point -regard-warnings pay attention to warning messages -remap filename transform image colors to match this set of colors -repage geometry size and location of an image canvas -respect-parentheses settings remain in effect until parenthesis boundary -sampling-factor geometry horizontal and vertical sampling factor -scene value image scene number -seed value seed a new sequence of pseudo-random numbers -size geometry width and height of image -stretch type render text with this font stretch -stroke color graphic primitive stroke color -strokewidth value graphic primitive stroke width -style type render text with this font style -support factor resize support: > 1.0 is blurry, < 1.0 is sharp -synchronize synchronize image to storage device -taint declare the image as modified -texture filename name of texture to tile onto the image background -tile-offset geometry tile offset -treedepth value color tree depth -transparent-color color transparent color -undercolor color annotation bounding box color -units type the units of image resolution -verbose print detailed information about the image -view FlashPix viewing transforms -virtual-pixel method virtual pixel access method -weight type render text with this font weight -white-point point chromaticity white point Image Operators: -adaptive-blur geometry adaptively blur pixels; decrease effect near edges -adaptive-resize geometry adaptively resize image using 'mesh' interpolation -adaptive-sharpen geometry adaptively sharpen pixels; increase effect near edges -alpha option on, activate, off, deactivate, set, opaque, copy transparent, extract, background, or shape -annotate geometry text annotate the image with text -auto-gamma automagically adjust gamma level of image -auto-level automagically adjust color levels of image -auto-orient automagically orient (rotate) image -bench iterations measure performance -black-threshold value force all pixels below the threshold into black -blue-shift factor simulate a scene at nighttime in the moonlight -blur geometry reduce image noise and reduce detail levels -border geometry surround image with a border of color -bordercolor color border color -brightness-contrast geometry improve brightness / contrast of the image -canny geometry detect edges in the image -cdl filename color correct with a color decision list -charcoal radius simulate a charcoal drawing -chop geometry remove pixels from the image interior -clamp keep pixel values in range (0-QuantumRange) -clip clip along the first path from the 8BIM profile -clip-path id clip along a named path from the 8BIM profile -colorize value colorize the image with the fill color -color-matrix matrix apply color correction to the image -connected-components connectivity connected-components uniquely labeled -contrast enhance or reduce the image contrast -contrast-stretch geometry improve contrast by `stretching' the intensity range -convolve coefficients apply a convolution kernel to the image -cycle amount cycle the image colormap -decipher filename convert cipher pixels to plain pixels -deskew threshold straighten an image -despeckle reduce the speckles within an image -distort method args distort images according to given method ad args -draw string annotate the image with a graphic primitive -edge radius apply a filter to detect edges in the image -encipher filename convert plain pixels to cipher pixels -emboss radius emboss an image -enhance apply a digital filter to enhance a noisy image -equalize perform histogram equalization to an image -evaluate operator value evaluate an arithmetic, relational, or logical expression -extent geometry set the image size -extract geometry extract area from image -features distance analyze image features (e.g. contrast, correlation) -fft implements the discrete Fourier transform (DFT) -flip flip image vertically -floodfill geometry color floodfill the image with color -flop flop image horizontally -frame geometry surround image with an ornamental border -function name parameters apply function over image values -gamma value level of gamma correction -gaussian-blur geometry reduce image noise and reduce detail levels -geometry geometry preferred size or location of the image -grayscale method convert image to grayscale -hough-lines geometry identify lines in the image -identify identify the format and characteristics of the image -ift implements the inverse discrete Fourier transform (DFT) -implode amount implode image pixels about the center -interpolative-resize geometry resize image using 'point sampled' interpolation -kuwahara geometry edge preserving noise reduction filter -lat geometry local adaptive thresholding -level value adjust the level of image contrast -level-colors color,color level image with the given colors -linear-stretch geometry improve contrast by `stretching with saturation' -liquid-rescale geometry rescale image with seam-carving -local-contrast geometry enhance local contrast -magnify double the size of the image with pixel art scaling -mean-shift geometry delineate arbitrarily shaped clusters in the image -median geometry apply a median filter to the image -mode geometry make each pixel the 'predominant color' of the neighborhood -modulate value vary the brightness, saturation, and hue -monochrome transform image to black and white -morphology method kernel apply a morphology method to the image -motion-blur geometry simulate motion blur -negate replace every pixel with its complementary color -noise geometry add or reduce noise in an image -normalize transform image to span the full range of colors -opaque color change this color to the fill color -ordered-dither NxN add a noise pattern to the image with specific amplitudes -paint radius simulate an oil painting -perceptible epsilon pixel value less than |epsilon| become epsilon or -epsilon -polaroid angle simulate a Polaroid picture -posterize levels reduce the image to a limited number of color levels -profile filename add, delete, or apply an image profile -quantize colorspace reduce colors in this colorspace -radial-blur angle radial blur the image (deprecated use -rotational-blur -raise value lighten/darken image edges to create a 3-D effect -random-threshold low,high random threshold the image -region geometry apply options to a portion of the image -render render vector graphics -resample geometry change the resolution of an image -resize geometry resize the image -roll geometry roll an image vertically or horizontally -rotate degrees apply Paeth rotation to the image -rotational-blur angle rotational blur the image -sample geometry scale image with pixel sampling -scale geometry scale the image -segment values segment an image -selective-blur geometry selectively blur pixels within a contrast threshold -sepia-tone threshold simulate a sepia-toned photo -set property value set an image property -shade degrees shade the image using a distant light source -shadow geometry simulate an image shadow -sharpen geometry sharpen the image -shave geometry shave pixels from the image edges -shear geometry slide one edge of the image along the X or Y axis -sigmoidal-contrast geometry increase the contrast without saturating highlights or shadows -sketch geometry simulate a pencil sketch -solarize threshold negate all pixels above the threshold level -sparse-color method args fill in a image based on a few color points -splice geometry splice the background color into the image -spread radius displace image pixels by a random amount -statistic type geometry replace each pixel with corresponding statistic from the neighborhood -strip strip image of all profiles and comments -swirl degrees swirl image pixels about the center -threshold value threshold the image -thumbnail geometry create a thumbnail of the image -tile filename tile image when filling a graphic primitive -tint value tint the image with the fill color -transform affine transform image -transparent color make this color transparent within the image -transpose flip image vertically and rotate 90 degrees -transverse flop image horizontally and rotate 270 degrees -trim trim image edges -type type image type -unique-colors discard all but one of any pixel color -unsharp geometry sharpen the image -vignette geometry soften the edges of the image in vignette style -wave geometry alter an image along a sine wave -wavelet-denoise threshold removes noise from the image using a wavelet transform -white-threshold value force all pixels above the threshold into white Image Sequence Operators: -append append an image sequence -clut apply a color lookup table to the image -coalesce merge a sequence of images -combine combine a sequence of images -compare mathematically and visually annotate the difference between an image and its reconstruction -complex operator perform complex mathematics on an image sequence -composite composite image -copy geometry offset copy pixels from one area of an image to another -crop geometry cut out a rectangular region of the image -deconstruct break down an image sequence into constituent parts -evaluate-sequence operator evaluate an arithmetic, relational, or logical expression -flatten flatten a sequence of images -fx expression apply mathematical expression to an image channel(s) -hald-clut apply a Hald color lookup table to the image -layers method optimize, merge, or compare image layers -morph value morph an image sequence -mosaic create a mosaic from an image sequence -poly terms build a polynomial from the image sequence and the corresponding terms (coefficients and degree pairs). -print string interpret string and print to console -process arguments process the image with a custom image filter -separate separate an image channel into a grayscale image -smush geometry smush an image sequence together -write filename write images to this file Image Stack Operators: -clone indexes clone an image -delete indexes delete the image from the image sequence -duplicate count,indexes duplicate an image one or more times -insert index insert last image into the image sequence -reverse reverse image sequence -swap indexes swap two images in the image sequence Miscellaneous Options: -debug events display copious debugging information -distribute-cache port distributed pixel cache spanning one or more servers -help print program options -list type print a list of supported option arguments -log format format of debugging information -version print version information By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output. [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-21 17:40 ` Csepp 2023-03-21 18:43 ` Andreas Enge @ 2023-03-22 13:57 ` Gottfried 1 sibling, 0 replies; 22+ messages in thread From: Gottfried @ 2023-03-22 13:57 UTC (permalink / raw) To: Csepp; +Cc: Andreas Enge, Luis Felipe, Felix Lechner, help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 1636 bytes --] Hi, thanks for your help may be imagemagick can be used only in the command line but I hoped to be graphical, as I know it from Trisquel. Or can it be that I have first to do a: sudo guix system reconfigure /etc/config.scm before it works properly. But photoflare is working graphically, without doing a sudo guix system reconfigure /etc/config.scm How is it generally: If I create a new profile, it should work or do I have to do than a sudo guix system reconfigure /etc/config.scm so that everything is in place and it works properly? kind regards Gottfried Am 21.03.23 um 18:40 schrieb Csepp: > > Gottfried <gottfried@posteo.de> writes: > >> [[PGP Signed Part:Undecided]] >> Hi, >> thanks for your help. >> >>> Did you maybe type the wrong name, maybe "magik" instead of "magick"? >> >> This could be, even I tried several times and checked the name. >> >> >> I created a manifest with photoflare and imagemagick >> and both packages were installed. >> >> When I enter this profil >> I can open photoflare, >> but I can’t open imagemagick. >> bash doesn’t find it. >> >> I don’t know why. >> >> I still installed: >> julia-imagemagick >> julia-imagemagick-jll >> >> but still I can’t open it. > > Those are for the Julia language, they are not what you want installed. > Use the package named "imagemagick". > > If it still doesn't show up, that might be a bug. I've ran into some > weird behavior where packages are reported as installed but aren't > visible in the profile. But so far it hasn't happened with guix shell > profiles. > -- [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-18 16:43 ` Gottfried 2023-03-18 17:20 ` Andreas Enge @ 2023-03-18 18:20 ` Luis Felipe 1 sibling, 0 replies; 22+ messages in thread From: Luis Felipe @ 2023-03-18 18:20 UTC (permalink / raw) To: Gottfried, Felix Lechner; +Cc: help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 720 bytes --] El 18/03/23 a las 16:43, Gottfried escribió: > I prefer a graphical programme, > at the moment it is easier for me. Gottfried, I think the program called photoflare might be close to what you want. Try the following: 1. guix install photoflare 2. Start the program 3. In the main menu, go to Tools → Automate/Batch... You will see a new window opens where you can select all the files you want to transform, the transformations you'd like to apply, the folder where you want to save the results, and so on. Using the GIMP graphically for the same purpose seems to require a plugin that is not in Guix (https://github.com/alessandrofrancesconi/gimp-plugin-bimp/). Hope that helps. [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 2881 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 495 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: image converter and resizer 2023-03-17 16:43 image converter and resizer Gottfried 2023-03-17 16:55 ` Felix Lechner via @ 2023-03-17 16:59 ` Luis Felipe 1 sibling, 0 replies; 22+ messages in thread From: Luis Felipe @ 2023-03-17 16:59 UTC (permalink / raw) To: Gottfried, help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 544 bytes --] El 17/03/23 a las 16:43, Gottfried escribió: > Hi, > which package is useful and easy to use to convert and resize images > in Guix? > I mean to reduce the size of the photo. Hi, Gottfried. You can use imagemagick or GIMP. You can find examples of resizing in the following links: * https://imagemagick.org/Usage/resize/ * https://www.gimp.org/tutorials/GIMP_Quickies/ They can also convert between formats and many more things. Hope that helps, -- Luis Felipe López Acevedo https://luis-felipe.gitlab.io/ [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 2881 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 495 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2023-04-22 10:37 UTC | newest] Thread overview: 22+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-03-17 16:43 image converter and resizer Gottfried 2023-03-17 16:55 ` Felix Lechner via 2023-03-17 17:04 ` Luis Felipe 2023-03-17 17:10 ` Felix Lechner via 2023-03-18 11:13 ` Gottfried 2023-03-18 15:28 ` Luis Felipe 2023-03-18 16:43 ` Gottfried 2023-03-18 17:20 ` Andreas Enge 2023-03-18 17:57 ` Nicolas Goaziou 2023-03-21 6:24 ` Gottfried 2023-03-21 13:47 ` Csepp 2023-03-22 13:49 ` Gottfried 2023-04-22 10:14 ` Gottfried 2023-03-21 6:17 ` Gottfried 2023-03-21 13:18 ` Csepp 2023-03-21 16:32 ` Gottfried 2023-03-21 17:40 ` Csepp 2023-03-21 18:43 ` Andreas Enge 2023-03-22 14:44 ` Gottfried 2023-03-22 13:57 ` Gottfried 2023-03-18 18:20 ` Luis Felipe 2023-03-17 16:59 ` Luis Felipe
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.