Projet

Général

Profil

Anomalie #14056

[CENTOS] Erreur de conversion ImageMagick

Ajouté par Ludovic ARAUJO il y a presque 4 ans. Mis à jour il y a presque 3 ans.

Statut:
R&D - Terminé
Priorité:
0-Bloquant
Assigné à:
Version cible:
Début:
28/05/2020
Echéance:
Tags Parapheur:
19.09.5, 20.03.3

Description

L'erreur :

[root@tstgec01 ~]# convert -density 500x500 -quality 100 -background white -alpha remove '/opt/maarchparapheur/docservers/documents/2020/05/0001/0990_246500732.pdf'[0] '/tmp/13785100240990_test2.png'                                                                
Abandon (core dumped)                                                                                                                                                                                                                                                  
[root@tstgec01 ~]# ls /tmp/13785100240990_test2.png                                                                                                                                                                                                                    
ls: impossible d'accéder à /tmp/13785100240990_test2.png: Aucun fichier ou dossier de ce type                                                                                                                                                                          
[root@tstgec01 ~]# convert -quality 100 -background white -alpha remove '/opt/maarchparapheur/docservers/documents/2020/05/0001/0990_246500732.pdf'[0] '/tmp/13785100240990_test2.png'                                                                                                                                                                                                                                                                                                                                 
[root@tstgec01 ~]# ls /tmp/13785100240990_test2.png                                                                                                                                                                                                                    
/tmp/13785100240990_test2.png   

Installé :

[root@tstgec01 ~]# gs -v                                                                                                                                                                                                                                               
GPL Ghostscript 9.25 (2018-09-13)                                                                                                                                                                                                                                      
Copyright (C) 2018 Artifex Software, Inc.  All rights reserved.                                                                                                                                                                                                        
[root@tstgec01 ~]# convert --version                                                                                                                                                                                                                                   
Version: ImageMagick 6.9.10-68 Q16 x86_64 2020-04-01 https://imagemagick.org                                                                                                                                                                                           
Copyright: © 1999-2019 ImageMagick Studio LLC                                                                                                                                                                                                                          
License: https://imagemagick.org/script/license.php                                                                                                                                                                                                                    
Features: Cipher DPC Modules OpenMP(3.1)                                                                                                                                                                                                                               
Delegates (built-in): bzlib cairo fontconfig freetype gslib jng jpeg lcms ltdl lzma openexr pangocairo png ps rsvg tiff wmf x xml zlib  

Demandes liées

Lié à Backlog Parapheur - Fonctionnalité #13897: [Conversion] Pouvoir choisir entre ImageMagick et GraphicsMagickR&D - Terminé2020-05-12

Historique

#1 Mis à jour par Ludovic ARAUJO il y a presque 4 ans

J'ai fait cette modif chez le client pour permettre la continuité de service :

fichier ConvertThumbnailController.php line:73

//$command = "convert -density 500x500 -quality 100 -background white -alpha remove "
  //              . escapeshellarg($pathToDocument) . "[{$i}] " . escapeshellarg("{$tmpPath}{$fileNameOnTmp}.png");
    //        exec($command.' 2>&1', $output, $return);

$command = "convert -quality 100 -background white -alpha remove "
                . escapeshellarg($pathToDocument) . "[{$i}] " . escapeshellarg("{$tmpPath}{$fileNameOnTmp}.png");
            exec($command.' 2>&1', $output, $return);

#3 Mis à jour par Ludovic ARAUJO il y a presque 4 ans

version 19.09.4

#4 Mis à jour par Emmanuel DILLARD il y a presque 4 ans

  • Statut changé de A qualifier à A traiter

#5 Mis à jour par Emmanuel DILLARD il y a presque 4 ans

  • Statut changé de A traiter à Etude planifiée

#6 Mis à jour par Emmanuel DILLARD il y a presque 4 ans

Lié à #13897 ?

#7 Mis à jour par Emmanuel DILLARD il y a presque 4 ans

#8 Mis à jour par Emmanuel DILLARD il y a presque 4 ans

  • Sujet changé de [CENTOS] Conversion MaarchParapheur à [CENTOS] Erreur de conversion ImageMagick

#9 Mis à jour par Ludovic ARAUJO il y a presque 4 ans

Demande de reproduction de la correction faite en 20.03 pour la 19.09

#10 Mis à jour par Emmanuel DILLARD il y a presque 4 ans

  • Statut changé de Etude planifiée à R&D - A planifier
  • Tags Parapheur 19.09.5 ajouté

Tag 19.09 de Parapheur : Pouvoir choisir entre ImageMagick et GraphicsMagick.

Jour à préciser.

#11 Mis à jour par Emmanuel DILLARD il y a presque 4 ans

  • Statut changé de R&D - A planifier à R&D - Terminé
  • Version cible changé de Parapheur 19.09 à Parapheur 21.03 (Stable)
  • Tags Parapheur 20.03.3 ajouté

#12 Mis à jour par Emmanuel DILLARD il y a presque 3 ans

  • Projet changé de Backlog à Backlog Parapheur
  • Version cible changé de Parapheur 21.03 (Stable) à 21.03

Formats disponibles : Atom PDF