cancel
Showing results for 
Search instead for 
Did you mean: 

ImageMagick command 'convert.exe' not Found in my SDK

mmrs
Champ in-the-making
Champ in-the-making
hi
im fresh to Alfresco Development so i'm still learning starting with installing Alfresco SDK 2.1 and using netbean 6.0, MySql
so i have applied the instruction in the "Alfresco on NetBeans" page, while impleminting project samples i got the following
error :

[size=85]ERROR [transform.magick.AbstractImageMagickContentTransformer]ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:
Execution result:
os: Windows XP
command: imconvert "C:\DOCUME~1\CRC\LOCALS~1\Temp\Alfresco\ImageMagickContentTransformer_init_source_3348.gif" "C:\DOCUME~1\CRC\LOCALS~1\Temp\Alfresco\ImageMagickContentTransformer_init_target_3349.png"
succeeded: false
exit code: 1
out:
err: CreateProcess: imconvert "C:\DOCUME~1\CRC\LOCALS~1\Temp\Alfresco\ImageMagickContentTransformer_init_source_3348.gif" "C:\DOCUME~1\CRC\LOCALS~1\Temp\Alfresco\ImageMagickContentTransformer_init_target_3349.png" error=2

WARN [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
WARN [alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
INFO [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
INFO [domain.schema.SchemaBootstrap] No changes were made to the schema.
WARN [repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'. 'dir.root' should be overridden to point to a specific folder.
INFO [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: .\alf_data
INFO [admin.patch.PatchExecuter] Checking for patches to apply …
INFO [repo.module.ModuleServiceImpl] Found 0 module(s).
INFO [service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_16-b02; maximum heap size 63.563MB
WARN [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 63.563MB is less than recommended 512MB
INFO [service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (482) schema 64 - Installed version 2.1.0 (482) schema 64[/size]

i looked for the imconvert.exe or convert.exe file in my alfresco dir but didnt found it
i found convert.exe in the windows dir but its for windows
so i think the ImageMagick Is not installed on my pc
i've downloaded it  as ImageMagick-6.4.5-5.zip file size=13 mb but i didn't found thwe imconvert.exe in it!
whats the solution ?
plz i need any help to put me on the right way.

regards
mmrs
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
http://wiki.alfresco.com/wiki/ImageMagick_Configuration

On windows you need to rename convert.exe to imconvert.exe to avoid a clash with another command.

mmrs
Champ in-the-making
Champ in-the-making
u mean rename C:\WIndows\converts.exe file ? i did but still : Failed to perform ImageMagick Transformation !
is there another file called converts.exe in another directory?i mean imconverts.exe should be in the SDk bin dir right?
but its not

mrogers
Star Contributor
Star Contributor
You need to download image magic, install it and then change the name of the convert.exe file to imconvert.exe.   

At a windows command prompt you should be able to type "imconvert" and see image magic's usage prompt.