Project

General

Profile

Anomalie #14056

[CENTOS] Erreur de conversion ImageMagick

Added by Ludovic ARAUJO about 2 years ago. Updated about 1 year ago.

Status:
Développé / Analysé (S)
Priority:
0-Bloquant
Assignee:
Target version:
Start date:
05/28/2020
Due date:
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  

Related issues

Related to Backlog Parapheur - Fonctionnalité #13897: [Conversion] Pouvoir choisir entre ImageMagick et GraphicsMagickDéveloppé / Analysé (S)2020-05-12

History

#1 Updated by Ludovic ARAUJO about 2 years ago

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 Updated by Ludovic ARAUJO about 2 years ago

version 19.09.4

#4 Updated by Emmanuel DILLARD about 2 years ago

  • Status changed from A qualifier to A traiter

#5 Updated by Emmanuel DILLARD about 2 years ago

  • Status changed from A traiter to Etude planifiée

#6 Updated by Emmanuel DILLARD about 2 years ago

Lié à #13897 ?

#7 Updated by Emmanuel DILLARD about 2 years ago

#8 Updated by Emmanuel DILLARD about 2 years ago

  • Subject changed from [CENTOS] Conversion MaarchParapheur to [CENTOS] Erreur de conversion ImageMagick

#9 Updated by Ludovic ARAUJO about 2 years ago

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

#10 Updated by Emmanuel DILLARD about 2 years ago

  • Status changed from Etude planifiée to Prêt à développer
  • Tags Parapheur 19.09.5 added

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

Jour à préciser.

#11 Updated by Emmanuel DILLARD about 2 years ago

  • Status changed from Prêt à développer to Développé / Analysé (S)
  • Target version changed from Parapheur 19.09 to Parapheur 21.03 (Stable)
  • Tags Parapheur 20.03.3 added

#12 Updated by Emmanuel DILLARD about 1 year ago

  • Project changed from Backlog to Backlog Parapheur
  • Target version changed from Parapheur 21.03 (Stable) to 21.03 (stable)

Also available in: Atom PDF