Consenso all'uso dei cookies

SITO1 -- SITO2 -- Forum2 -- CercaGlobale -- Informativa su Cookie e Privacy

Questo Forum1 è in sola lettura -- Usa il Forum2


Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
[RISOLTO] ImageMagick non va
#1
(17-01-2012, 09:17 )patel Ha scritto: con i seguenti comandi è un attimo:
Per mettere due immagini una a fianco dell'altra:
Codice:
convert image1.jpg image2.jpg +append affianca.jpg
Per mettere due immagini una sotto l'altra:
Codice:
convert image1.jpg image2.jpg -append sovrapponi.jpg

Scusate se riapro questo thread.
Ho provato a eseguire questi comandi dal terminale ma sembra che manca il programma per la conversione da due immagini a un'unica immagine.
   

Ho installato imageMagick ma temo che non serve per questi comandi....quale programma devo installare?
Ho pure usato lo script di zafran, l'ho reso eseguibile, dopo l'esecuzione mi fa scegliere le immagini ma poi nulla di fatto.
Ubuntu 12.04
Cita messaggio
#2
Dallo shot allegato sembra che non funzioni qlc con le .png.
Intanto fai un'altra prova con delle .jpg e poi vediamo di capire dov'è l'inghippo.
[Immagine: http://pclinuxos.com/forum/avatars/Pengu...guitux.png] Parole !
Mai che se ne trovino due uguali !
Cita messaggio
#3
faccio una prova con delle immagini jpg create con gimp e posto il risultato.
Cita messaggio
#4
stessaidentica situazione, faccio prima a disinstallare imagemagick e mi tolgo il pensiero


Allegati Anteprime
   
Cita messaggio
#5
No no, asp.
Hai provato a aprire/modificare/salvare le immagini con altri programmi?
[Immagine: http://pclinuxos.com/forum/avatars/Pengu...guitux.png] Parole !
Mai che se ne trovino due uguali !
Cita messaggio
#6
ho avuto problemi con gimp, durante la conversione dei files andava in crash, adesso ho risolto e riesco a salvare nel formato png e jpeg. Con gli altri programmi tipo inkscape, shutter, salvo tranquillamente nel formato png e jpeg. Credo che ci sia incompatibilità tra imageshack e qualche programma di grafica installato, imageshack non l'ho ancora disinstallato, mi piacerebbe risolvere.
Queste le info su imagemagick
Codice:
libero@libero-X55A:~$ identify -version
Version: ImageMagick 6.8.1-3 2012-12-26 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: OpenMP
Delegates: ps

libero@libero-X55A:~$ convert -list configure

Path: /usr/local/lib/ImageMagick-6.8.1//config-Q16/configure.xml

Name           Value
-------------------------------------------------------------------------------
CC             gcc -std=gnu99 -std=gnu99
CFLAGS         -fopenmp -g -O2 -Wall -pthread
CODER_PATH     /usr/local/lib/ImageMagick-6.8.1/modules-Q16/coders
CONFIGURE      ./configure
CONFIGURE_PATH /usr/local/etc/ImageMagick/
COPYRIGHT      Copyright (C) 1999-2013 ImageMagick Studio LLC
CPPFLAGS       -I/usr/local/include/ImageMagick
CXX            g++
CXXFLAGS       -pthread
DEFS           -DHAVE_CONFIG_H
DELEGATES      ps
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-gvc=no --with-rsvg=no --with-wmf=no --with-perl=no
DOCUMENTATION_PATH /usr/local/share/doc/ImageMagick-6.8.1
EXEC-PREFIX    /usr/local
EXECUTABLE_PATH /usr/local/bin
FEATURES       OpenMP
FILTER_PATH    /usr/local/lib/ImageMagick-6.8.1/modules-Q16/filters
HOST           i686-pc-linux-gnu
INCLUDE_PATH   /usr/local/include/ImageMagick
LDFLAGS        -L/usr/local/lib
LIB_VERSION    0x681
LIB_VERSION_NUMBER 6,8,1,3
LIBRARY_PATH   /usr/local/lib/ImageMagick-6.8.1
LIBS           -lMagickCore -lm -lgomp -lpthread
NAME           ImageMagick
PCFLAGS        -fopenmp
PREFIX         /usr/local
QuantumDepth   16
RELEASE_DATE   2012-12-26
SHARE_PATH     /usr/local/share/ImageMagick-6.8.1
SHAREARCH_PATH /usr/local/lib/ImageMagick-6.8.1/config-Q16
SVN_REVISION   10395
TARGET_CPU     i686
TARGET_OS      linux-gnu
TARGET_VENDOR  pc
VERSION        6.8.1
WEBSITE        http://www.imagemagick.org

Path: [built-in]

Name           Value
-------------------------------------------------------------------------------
FEATURES       OpenMP
NAME           ImageMagick
QuantumDepth   16
Cita messaggio
#7
Converrebbe dividere questa discussione e dare alla tua ripresa anche un altro titolo.

Mi sa che non ti so aiutare.
Di incompatibilità non ho mai sentito parlare e poi il messaggio di errore parla proprio di una codifica che sembra non essere prevista.
Potresti provare a reinstallare imagemagick.

Di imageshack non so nulla, cioè so che è un sito di filehosting ma in locale a cosa serve?
[Immagine: http://pclinuxos.com/forum/avatars/Pengu...guitux.png] Parole !
Mai che se ne trovino due uguali !
Cita messaggio
#8
va bene, divido e sposto su sezione grafica.

Ops, scusa...ho sbagliato...dovevo scrivere imagemagick e ho scritto imageshack arrossire
Cita messaggio
#9
mancano i coder per jpeg e png, gli altri ci sono tutti...il problema è: dove li trovo? Piange
Codice:
libero@libero-X55A:~$ make check
make: ***  Nessuna regola per generare l'obiettivo "check".  Arresto.
libero@libero-X55A:~$ cd /home/libero/Video
libero@libero-X55A:~/Video$ ls
ImageMagick-6.8.1-3  ImageMagick-6.8.1-3.tar.gz
libero@libero-X55A:~/Video$ ls
ImageMagick-6.8.1-3  ImageMagick-6.8.1-3.tar.gz  rect2985.png
libero@libero-X55A:~/Video$ convert rect2985.png rect2985.jpeg
convert: no decode delegate for this image format `rect2985.png' @ error/constitute.c/ReadImage/550.
convert: no images defined `rect2985.jpeg' @ error/convert.c/ConvertImageCommand/3066.
libero@libero-X55A:~/Video$ identify -list format
   Format  Mode  Description
-------------------------------------------------------------------------------
      3FR  r--   Hasselblad CFV/H3D39II
        A* rw+   Raw alpha samples
      AAI* rw+   AAI Dune image
       AI  rw-   Adobe Illustrator CS2
      ART* rw-   PFS: 1st Publisher Clip Art
      ARW  r--   Sony Alpha Raw Image Format
      AVI  r--   Microsoft Audio/Visual Interleaved
      AVS* rw+   AVS X image
        B* rw+   Raw blue samples
      BMP* rw-   Microsoft Windows bitmap image
     BMP2* -w-   Microsoft Windows bitmap image (V2)
     BMP3* -w-   Microsoft Windows bitmap image (V3)
        C* rw+   Raw cyan samples
      CAL* r--   Continuous Acquisition and Life-cycle Support Type 1
           Specified in MIL-R-28002 and MIL-PRF-28002
     CALS* r--   Continuous Acquisition and Life-cycle Support Type 1
           Specified in MIL-R-28002 and MIL-PRF-28002
   CANVAS* r--   Constant image uniform color
  CAPTION* r--   Caption
      CIN* rw-   Cineon Image File
      CIP* -w-   Cisco IP phone image format
     CLIP* -w+   Image Clip Mask
     CMYK* rw+   Raw cyan, magenta, yellow, and black samples
    CMYKA* rw+   Raw cyan, magenta, yellow, black, and alpha samples
      CR2  r--   Canon Digital Camera Raw Image Format
      CRW  r--   Canon Digital Camera Raw Image Format
      CUR* rw-   Microsoft icon
      CUT* r--   DR Halo
      DCM* r--   Digital Imaging and Communications in Medicine image
           DICOM is used by the medical community for images like X-rays.  The
           specification, "Digital Imaging and Communications in Medicine
           (DICOM)", is available at http://medical.nema.org/.  In particular,
           see part 5 which describes the image encoding (RLE, JPEG, JPEG-LS),
           and supplement 61 which adds JPEG-2000 encoding.
      DCR  r--   Kodak Digital Camera Raw Image File
      DCX* rw+   ZSoft IBM PC multi-page Paintbrush
      DDS* r--   Microsoft DirectDraw Surface
    DFONT* ---   Multi-face font package
      DNG  r--   Digital Negative
      DPX* rw-   SMPTE 268M-2003 (DPX 2.0)
           Digital Moving Picture Exchange Bitmap, Version 2.0.
           See SMPTE 268M-2003 specification at http://www.smtpe.org
          
     EPDF  rw-   Encapsulated Portable Document Format
      EPI  rw-   Encapsulated PostScript Interchange format
      EPS  rw-   Encapsulated PostScript
     EPS2* -w-   Level II Encapsulated PostScript
     EPS3* -w+   Level III Encapsulated PostScript
     EPSF  rw-   Encapsulated PostScript
     EPSI  rw-   Encapsulated PostScript Interchange format
      ERF  r--   Epson RAW Format
      FAX* rw+   Group 3 FAX
           FAX machines use non-square pixels which are 1.5 times wider than
           they are tall but computer displays use square pixels, therefore
           FAX images may appear to be narrow unless they are explicitly
           resized using a geometry of "150x100%".
          
     FITS* rw-   Flexible Image Transport System
  FRACTAL* r--   Plasma fractal image
      FTS* rw-   Flexible Image Transport System
        G* rw+   Raw green samples
       G3* rw-   Group 3 FAX
      GIF* rw+   CompuServe graphics interchange format
    GIF87* rw-   CompuServe graphics interchange format (version 87a)
GRADIENT* r--   Gradual linear passing from one shade to another
     GRAY* rw+   Raw gray samples
     HALD* r--   Identity Hald color lookup table image
      HDR* rw+   Radiance RGBE image format
HISTOGRAM* -w-   Histogram of the image
      HRZ* rw-   Slow Scan TeleVision
      HTM* -w-   Hypertext Markup Language and a client-side image map
     HTML* -w-   Hypertext Markup Language and a client-side image map
      ICB* rw-   Truevision Targa image
      ICO* rw+   Microsoft icon
     ICON* rw-   Microsoft icon
     INFO  -w+   The image format and characteristics
   INLINE* r--   Base64-encoded inline images
      IPL* rw+   IPL Image Sequence
        K* rw+   Raw black samples
      K25  r--   Kodak Digital Camera Raw Image Format
      KDC  r--   Kodak Digital Camera Raw Image Format
    LABEL* r--   Image label
        M* rw+   Raw magenta samples
      M2V  rw+   MPEG Video Stream
      M4V  rw+   Raw MPEG-4 Video
      MAC* r--   MAC Paint
      MAP* rw-   Colormap intensities and indices
      MAT  rw+   MATLAB level 5 image format
    MATTE* -w+   MATTE format
      MEF  r--   Mamiya Raw Image File
     MIFF* rw+   Magick Image File Format
     MONO* rw-   Raw bi-level bitmap
      MOV  rw+   MPEG Video Stream
      MP4  rw+   MPEG-4 Video Stream
      MPC* rw+   Magick Persistent Cache image format
     MPEG  rw+   MPEG Video Stream
      MPG  rw+   MPEG Video Stream
      MRW  r--   Sony (Minolta) Raw Image File
      MSL* ---   Magick Scripting Language
     MSVG  -w+   ImageMagick's own SVG internal renderer
      MTV* rw+   MTV Raytracing image format
      MVG* rw-   Magick Vector Graphics
      NEF  r--   Nikon Digital SLR Camera Raw Image File
      NRW  r--   Nikon Digital SLR Camera Raw Image File
     NULL* rw-   Constant image of uniform color
        O* rw+   Raw opacity samples
      ORF  r--   Olympus Digital Camera Raw Image File
      OTB* rw-   On-the-air bitmap
      OTF* ---   Open Type font
      PAL* rw-   16bit/pixel interleaved YUV
     PALM* rw+   Palm pixmap
      PAM* rw+   Common 2-dimensional bitmap format
    PANGO* ---   Pango Markup Language
  PATTERN* r--   Predefined pattern
      PBM* rw+   Portable bitmap format (black and white)
      PCD* rw-   Photo CD
     PCDS* rw-   Photo CD
      PCL  rw+   Printer Control Language
      PCT* rw-   Apple Macintosh QuickDraw/PICT
      PCX* rw-   ZSoft IBM PC Paintbrush
      PDB* rw+   Palm Database ImageViewer Format
      PDF  rw+   Portable Document Format
     PDFA  rw+   Portable Document Archive Format
      PEF  r--   Pentax Electronic File
      PES* r--   Embrid Embroidery Format
      PFA* ---   Postscript Type 1 font (ASCII)
      PFB* ---   Postscript Type 1 font (binary)
      PFM* rw+   Portable float format
      PGM* rw+   Portable graymap format (gray scale)
    PICON* rw-   Personal Icon
     PICT* rw-   Apple Macintosh QuickDraw/PICT
      PIX* r--   Alias/Wavefront RLE image format
   PLASMA* r--   Plasma fractal image
      PNM* rw+   Portable anymap
      PPM* rw+   Portable pixmap format (color)
  PREVIEW* -w-   Show a preview an image enhancement, effect, or f/x
       PS  rw+   PostScript
      PS2* -w+   Level II PostScript
      PS3* -w+   Level III PostScript
      PSB* rw+   Adobe Large Document Format
      PSD* rw+   Adobe Photoshop bitmap
      PWP* r--   Seattle Film Works
        R* rw+   Raw red samples
RADIAL-GRADIENT* r--   Gradual radial passing from one shade to another
      RAF  r--   Fuji CCD-RAW Graphic File
      RAS* rw+   SUN Rasterfile
      RGB* rw+   Raw red, green, and blue samples
     RGBA* rw+   Raw red, green, blue, and alpha samples
     RGBO* rw+   Raw red, green, blue, and opacity samples
      RLA* r--   Alias/Wavefront image
      RLE* r--   Utah Run length encoded image
      RW2  r--   Panasonic Lumix Raw Image
      SCR* r--   ZX-Spectrum SCREEN$
      SCT* r--   Scitex HandShake
      SFW* r--   Seattle Film Works
      SGI* rw+   Irix RGB image
    SHTML* -w-   Hypertext Markup Language and a client-side image map
      SR2  r--   Sony Raw Format 2
      SRF  r--   Sony Raw Format
  STEGANO* r--   Steganographic image
      SUN* rw+   SUN Rasterfile
      SVG  -w+   Scalable Vector Graphics
     SVGZ  -w+   Compressed Scalable Vector Graphics
     TEXT* rw+   Text
      TGA* rw-   Truevision Targa image
THUMBNAIL* -w+   EXIF Profile Thumbnail
     TILE* r--   Tile image with a texture
      TIM* r--   PSX TIM
      TTC* ---   TrueType font collection
      TTF* ---   TrueType font
      TXT* rw+   Text
      UIL* -w-   X-Motif UIL table
     UYVY* rw-   16bit/pixel interleaved YUV
      VDA* rw-   Truevision Targa image
    VICAR* rw-   VICAR rasterfile format
      VID* rw+   Visual Image Directory
     VIFF* rw+   Khoros Visualization image
      VST* rw-   Truevision Targa image
     WBMP* rw-   Wireless Bitmap (level 0) image
      WMV  rw+   Windows Media Video
      WPG* r--   Word Perfect Graphics
      X3F  r--   Sigma Camera RAW Picture File
      XBM* rw-   X Windows system bitmap (black and white)
       XC* r--   Constant image uniform color
      XCF* r--   GIMP image
      XPM* rw-   X Windows system pixmap (color)
      XPS  r--   Microsoft XML Paper Specification
       XV* rw+   Khoros Visualization image
        Y* rw+   Raw yellow samples
    YCbCr* rw+   Raw Y, Cb, and Cr samples
   YCbCrA* rw+   Raw Y, Cb, Cr, and alpha samples
      YUV* rw-   CCIR 601 4:1:1 or 4:2:2

* native blob support
r read support
w write support
+ support for multiple images
Cita messaggio
#10
Provato con il comando

convert image1.jpg image2.jpg +append affianca.jpg
(sostituendo i nomi delle immagini )
dopo qualche errore ,crea nella home un'immagine unica con
le due immagini affiancate.

Cita messaggio


Vai al forum:


Utenti che stanno guardando questa discussione: 1 Ospite(i)