Image conversion Problem

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
vmahendra

Image conversion Problem

Post by vmahendra »

Hi All,

Well after reading i found imagemagick have very good power to convert images so i had just installed it to on my linux server and when i tried to convert the images but
it is giving the following error :

Pl help me out that how do it solve it:

Erro rec:
convert: unable to open image `image': No such file or directory @ blob.c/OpenBlob/2432.
> convert: missing an image filename `-mahendra.jpg' @ convert.c/ConvertImageCommand/2775.


Command i used:
convert -size 640x480 -depth 8 rgb:image -tempimage.jpg


Thanks in Advance
-vmahendra
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Image conversion Problem

Post by magick »

Do you have an image on disk with a filename of 'image'? If not its going to complain. Try these commands:
  • convert logo: logo.rgb
    convert -size 640x480 -depth 8 logo.rgb logo.jpg
vmahendra

Re: Image conversion Problem

Post by vmahendra »

Hi
Thnx 4 reply...

But still i am in problem as u told the commands are all working fine as wthout error but its is not showing any thing in output

as of now what i follow

1)I made a blank image as a temp on which i wanna to show output
2)I put a image as a input on which i wanna to create different conversion

Finally i run this command:

convert -size 640x480 -depth 8 inputimagename.jpg outputimagename.jpg

in this the output image is as i told its blank so its of 0Kb and input image have its size

now when i execute this command it executes perfectly without error but when i check the status of output image it is still in 0 Kb and if download it then it will not open that file because none updates in that file....................

so pl tell me what to do next is there any problem in command or any package is missing?? is there any comaptibility problem with jpg as u gave a example of RGB???

and i would like to know how do i install all jpeg png and tiff delgates of Imagemagick on linux box.... THIS iS TOO MUCH IMP
as i wrote the convert -list configure
ans i found that in DELEGATE line onle zlib is there no other delegates are installed....


Configure list:-
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -fopenmp -g -O2 -Wall -W -pthread
CONFIGURE ./configure
COPYRIGHT Copyright (C) 1999-2009 ImageMagick Studio LLC
CPPFLAGS -I/usr/local/include/ImageMagick
CXX g++
CXXFLAGS -pthread
DEFS -DHAVE_CONFIG_H
DELEGATES zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-fontconfig=no --with-gslib=no --with-fontpath= --with-rsvg=no --with-xml=no
EXEC-PREFIX /usr/local
HOST i686-pc-linux-gnu
LDFLAGS -L/usr/local/lib
LIB_VERSION 0x650
LIB_VERSION_NUMBER 6,5,0,6
LIBS -lMagickCore -lz -lm -lgomp -lpthread
NAME ImageMagick
PCFLAGS -fopenmp
PREFIX /usr/local
QuantumDepth 16
RELEASE_DATE 2009-03-24
VERSION 6.5.0
WEBSITE http://www.imagemagick.org


Thnx
-vmahendra
Last edited by vmahendra on 2009-03-25T04:45:02-07:00, edited 3 times in total.
vmahendra

Re: Image conversion Problem

Post by vmahendra »

Hi

Well i have a confusion in Feasibility of imagemagick that suppose i have a 400x400 of image then i have a particular architecture some set of style i have to cut wth some measurements and angles then is it possible via imagemagick ?? if yes that then pl guide that which function may i look forward??


Pl reply me ASAP................

-vmahendra
Post Reply