convert: no images defined

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
nemoglobine
Posts: 2
Joined: 2015-12-23T16:20:49-07:00
Authentication code: 1151

convert: no images defined

Post by nemoglobine »

i have search on this forum and didn't find any solution whereas it's very basic command

i did this command

Code: Select all

nemo@debianVostro:~/Bureau/test_sel_photo$ convert -contrast '/home/nemo/Bureau/test_sel_photo/1.jpg'
convert: no images defined `/home/nemo/Bureau/test_sel_photo/1.jpg' @ error/convert.c/ConvertImageCommand/3210.
the file exists

Code: Select all

nemo@debianVostro:~/Bureau/test_sel_photo$ ls -l /home/nemo/Bureau/test_sel_photo/1.jpg
-rw-r--r-- 1 nemo nemo 1460158 août  19  2010 /home/nemo/Bureau/test_sel_photo/1.jpg
identify the file

Code: Select all

nemo@debianVostro:~/Bureau/test_sel_photo$ identify /home/nemo/Bureau/test_sel_photo/1.jpg
1.jpg JPEG 2376x4224 2376x4224+0+0 8-bit sRGB 1.46MB 0.000u 0:00.000
that's my version of imagemagick

Code: Select all

nemo@debianVostro:~/Bureau/test_sel_photo$ convert -version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2015-01-05 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff wmf x xml zlib
my system

Code: Select all

nemo@debianVostro:~/Bureau/test_sel_photo$ uname -a
Linux debianVostro 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u1 (2015-12-14) x86_64 GNU/Linux
libjpeg

Code: Select all

nemo@debianVostro:~/Bureau/test_sel_photo$ sudo aptitude search libjpeg
i   libjpeg-dev                             - Development files for the JPEG library [dummy package]
v   libjpeg-dev:i386                      - 
v   libjpeg-progs                           - 
v   libjpeg-progs:i386                    - 
i A libjpeg-turbo-progs                      - Programs for manipulating JPEG files 
p   libjpeg-turbo-progs:i386                - Programs for manipulating JPEG files
p   libjpeg-turbo-progs-dbg                 - Programs for manipulating JPEG files (debugging symbols)
p   libjpeg-turbo-progs-dbg:i386          - Programs for manipulating JPEG files (debugging symbols)
v   libjpeg62                                     -
v   libjpeg62:i386                              -
i A libjpeg62-turbo                             - libjpeg-turbo JPEG runtime library
i A libjpeg62-turbo:i386                      - libjpeg-turbo JPEG runtime library 
p   libjpeg62-turbo-dbg                       - Debugging symbols for the libjpeg-turbo JPEG library
p   libjpeg62-turbo-dbg:i386                - Debugging symbols for the libjpeg-turbo JPEG library 
i A libjpeg62-turbo-dev                       - Development files for the libjpeg-turbo JPEG library
p   libjpeg62-turbo-dev:i386                - Development files for the libjpeg-turbo JPEG library

please help me
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: convert: no images defined

Post by fmw42 »

convert -contrast '/home/nemo/Bureau/test_sel_photo/1.jpg'
You need to provide both an input and output image. Also the -contrast should come after the input image. See
http://www.imagemagick.org/Usage/basics/#why
http://www.imagemagick.org/Usage/basics/#syntax
nemoglobine
Posts: 2
Joined: 2015-12-23T16:20:49-07:00
Authentication code: 1151

Re: convert: no images defined

Post by nemoglobine »

thx, so evident !
Post Reply