Deutsch English Français Italiano |
<6574353d$0$10086$426a74cc@news.free.fr> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed1-a.proxad.net!nnrp2-2.free.fr!not-for-mail From: yves <yves@free.invalid> Subject: Re: photos => film ne marche plus Newsgroups: fr.comp.os.linux.configuration References: <ul0732$1thfj$1@dont-email.me> <ul18hu$2hllq$1@solani.org> MIME-Version: 1.0 User-Agent: Pan/0.149 (Bellevue; 4c157ba) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 09 Dec 2023 09:37:01 GMT Lines: 71 Message-ID: <6574353d$0$10086$426a74cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 09 Dec 2023 10:37:01 CET NNTP-Posting-Host: 37.67.154.156 X-Trace: 1702114621 news-3.free.fr 10086 37.67.154.156:62520 X-Complaints-To: abuse@proxad.net Bytes: 2854 Le Sat, 9 Dec 2023 09:29:49 +0100, Michel a écrit: Bonjour, >> Ça vous parle ? Une piste pour résoudre le souci ? >> Céramicalement, Oui, ce problème me parle. Je l'ai rencontré en voulant faire une conversion d'image. Voici mes notes, brutes de fonderie, sur mes investigations à l'époque : --8<--------------- mes notes commencent ici ---------------->8--- si erreur mogrify-im6.q16: cache resources exhausted On my (Debian Linux) system the configuration is located at /etc/ImageMagick-6/policy.xml. See here for different locations on various operating systems. I changed the following settings to 2GiB to get rid of the error, you may need different ones, depending on your needs and system resources. Take a look at the documentation. <policy domain="resource" name="memory" value="2GiB"/> <policy domain="resource" name="map" value="2GiB"/> pour vérifier les ressources disponibles : $ identify -list resource $ identify -verbose -debug cache c.jpg pour augmenter les ressources $ convert -limit memory 32MiB 20/04/2023-ye: sur le l2 boosté à 8 Go de ram, j'ai mis <policy domain="resource" name="memory" value="6GiB"/> <policy domain="resource" name="map" value="6GiB"/> Mais insuffisant encore pour ce jpg identify c-000.jpg : JPEG 10346x14125 10346x14125+0+0 8-bit sRGB 15.8203MiB 0.000u 0:00.000 ll -h c-000.jpg : 16M file c-000.jpg : c-000.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 1200x1200, segment length 16, baseline, precision 8, 10346x14125, components 3 identify --list resource Resource limits: Width: 16KP Height: 16KP List length: unlimited Area: 128MP Memory: 6GiB Map: 6GiB Disk: 1GiB File: 768 Thread: 4 Throttle: 0 Time: unlimited passer le disque de 1GiB à 6Gib permet de faire fonctionner le display c-000.jpg, bien que lentement. $ cp c-000.jpg a.jpg $ mogrify -resize 1280x960 a.jpg fonctionne, désormais, avec les nouveaux parametres. @+ -- Yves