Deutsch   English   Français   Italiano  
<tga1qd$bmp$1@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!newsreader4.netcologne.de!news.netcologne.de!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED!not-for-mail
From: =?UTF-8?B?IkJlbm/DrnQgTC4i?= <benoit@leraillez.com.invalid>
Newsgroups: fr.rec.photo,fr.comp.infosystemes.www.auteurs
Subject: Re: =?UTF-8?B?SW50w6lncmF0aW9uIGRlIHBob3RvcyBkYW5zIHVuIGZvbmQ=?=
 =?UTF-8?B?IHN0YW5kYXJk?=
Date: Mon, 19 Sep 2022 15:28:14 -0000 (UTC)
Organization: C'est celui qui dit qui est
Archive: no
Message-ID: <tga1qd$bmp$1@shakotay.alphanet.ch>
References: <tcgmnf$426$1@shakotay.alphanet.ch> <tga0am$396$13@ns507557.dodin.fr.nf>
Reply-To: benoit@leraillez.com
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Sep 2022 15:28:14 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="bobduvallois";
	logging-data="11993"; mail-complaints-to="usenet@alphanet.ch"; posting-host="afae0d8def0cf5f14abbb823c144bac2.nnrp.alphanet.ch"
User-Agent: MacCafe/2.09 (4D18)/moka (macOS 12.5.1 (21G83) - MacBookPro14,2)
Cancel-Lock: sha1:QI5qFw6KQifKRwkII1ExiaoQh5Y= sha256:dtPgPosf+lCoam/lqrT779BbNwTRiOOC9bGr6tJqqzg= sha256:eRoqGth7v2XxQuZFZKaeRqm4l3RXoKAQJE5tC/OgDWM=
In-Reply-To: <tga0am$396$13@ns507557.dodin.fr.nf>
X-No-Archive: yes
Bytes: 2538
Lines: 38

Avec enthousiasme, le 19 septembre 2022 à 17:02, jdd écrivit :


> Le 04/08/2022 à 16:56, "Benoît L." a écrit :
>
>> L'idée est donc d'intégrer automatiquement une photo en la limitant en
>> hauteur ou largeur (portrait vs paysage) aux dimensions jugées
>> maximales/idéales.
>
> une fois pour toutes, ou avec des photos téléchargées dynamiquement?
>
> j'ai un script à base d'imagemagic, mais il marche mal, donc à réviser. 
> Je l'ai fait pour mettre des photos dans un cadre 1200x800
>
> #!/bin/bash
> for a ; do
> echo $a
> mogrify -resize 1200x800 $a
> w=`identify -format "%w" $a`
> b=$(((1200-$w)/2))
> mogrify -bordercolor "#000000" -border "($b)x0"  $a
>
> done
> exit

Merci mais là on rentre dans mon champ d’incompétence.

Je sais exporter des photos avec des dimensions maximum. Par contre
incorporer une image dans une autre à un endroit précis… Je me rabattrai
donc sur une présentation genre PowerPoint avec un modèle de page dont
le fond est l’image de fond, et un emplacement prévu pour les
incrustations. Ensuite D&D des images et création de la diapo suivante.

Et pas de site web.

-- 
Benoît
Seuls les idéaux ne changent jamais d'avis.