missing an image filename Cross compiling for ARM9

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
subhasish

missing an image filename Cross compiling for ARM9

Post by subhasish »

Hi,
I am trying to cross compile image magick for Arm. Although I am able to successfully compile it, but when i execute the convert command, i get the following error:
mx27#>convert -size 720x20 -background black -fill white -label "`date`" label.yuv
convert: missing an image filename `label.yuv'

The above command works for X86-PC. But is not working for Arm. The command just creates a YUV file with a date stamp.

I think i m doing something wrong while configuring. Following is the configure I used:
./configure --host=arm-926ejs-linux \
CC=arm-926ejs-linux-gcc \
CFLAGS="" \
CXX=arm-926ejs-linux-g++ \
CXXFLAGS="" \
LD=arm-926ejs-linux-ld \
LDFLAGS="-L$ROOT_DIR/usr/lib" \
--prefix=$ROOT_DIR \
--sysconfdir=$ROOT_DIR/etc \
--without-perl \
--with-xml=yes \
--without-gs-font-dir \
--without-zlib \
--without-x \
make
make install

I found a post on the internet saying that magick returns this message for any type of issues.
I also tried to strace the command and got the following output:

strace convert -size 720x20 -background black -fill white -label.yuv

execve("/bin/convert", ["convert", "-size", "720x20", "-background", "black", "-fill", "white", "-label", "Sat Jul 5 07:53:49 UTC 2008", "YUV:label.yuv"], [/* 10 vars */]) = 0
brk(0) = 0x11000
uname({sys="Linux", node="Smartvue", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001b000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/half/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/half/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/half/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/half/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/half/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/half/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/half/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/half/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/libMagickCore.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=8767, ...}) = 0
mmap2(NULL, 8767, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001c000
close(3) = 0
open("/lib/libMagickCore.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0P0\1\0004"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1867424, ...}) = 0
mmap2(NULL, 1748812, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40024000
mprotect(0x401bf000, 28672, PROT_NONE) = 0
mmap2(0x401c6000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19a) = 0x401c6000
close(3) = 0
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/half/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/half/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/half/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/half/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/half/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/half/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/half/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/half/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/libMagickWand.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libMagickWand.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\240\364\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1657719, ...}) = 0
mmap2(NULL, 1600664, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x401cf000
mprotect(0x4034d000, 28672, PROT_NONE) = 0
mmap2(0x40354000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17d) = 0x40354000
close(3) = 0
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/half/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/half/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/half/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/half/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/half/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/half/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/half/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/half/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\10K\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=101377, ...}) = 0
mmap2(NULL, 107028, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40356000
mprotect(0x40365000, 32768, PROT_NONE) = 0
mmap2(0x4036d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf) = 0x4036d000
mmap2(0x4036f000, 4628, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4036f000
close(3) = 0
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/half/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\214\v\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=14611, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
mmap2(NULL, 41128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40371000
mprotect(0x40373000, 28672, PROT_NONE) = 0
mmap2(0x4037a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x4037a000
close(3) = 0
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/half/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/half/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/half/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/half/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/half/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/half/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/half/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/half/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0`2\0\0004"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=495517, ...}) = 0
mmap2(NULL, 475296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4037c000
mprotect(0x403e8000, 28672, PROT_NONE) = 0
mmap2(0x403ef000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6b) = 0x403ef000
close(3) = 0
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/half/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\270T\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1342339, ...}) = 0
mmap2(NULL, 1127176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x403f1000
mprotect(0x404f8000, 28672, PROT_NONE) = 0
mmap2(0x404ff000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x106) = 0x404ff000
mmap2(0x40502000, 8968, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40502000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000
syscall_983045(0x400204c0, 0x400204c0, 0x40023054, 0x40020b78, 0x40, 0x40023054, 0, 0, 0x40023728, 0x8034, 0x40023000, 0xbe99ab58, 0, 0xbe99a8c8, 0x40013db4, 0x4000205c, 0x20000010, 0x400204c0, 0xbf48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0
mprotect(0x404ff000, 4096, PROT_READ) = 0
mprotect(0x403ef000, 4096, PROT_READ) = 0
mprotect(0x4037a000, 4096, PROT_READ) = 0
mprotect(0x4036d000, 4096, PROT_READ) = 0
mprotect(0x40022000, 4096, PROT_READ) = 0
munmap(0x4001c000, 8767) = 0
epoll_wait(0x400200c8, 0x400204c0, 0x40020080, 0x40ec) = 1829
rt_sigaction(SIGRTMIN, {0x4035a648, [], SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x4035a538, [], SA_RESTART|SA_SIGINFO|0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN 33], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbe99ab00, 38, (nil), 0}) = 0
time(NULL) = 1215244431
getcwd("/", 4096) = 2
readlink("/proc/1829/exe", "/bin/convert", 4096) = 12
stat64("/bin/convert", {st_mode=S_IFREG|0755, st_size=8002, ...}) = 0
access("/bin/convert", F_OK) = 0
rt_sigprocmask(SIG_BLOCK, [ABRT], NULL, 8) = 0
rt_sigaction(SIGABRT, {0x40109cac, [ABRT], SA_INTERRUPT|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [FPE], NULL, 8) = 0
rt_sigaction(SIGFPE, {0x40109cac, [FPE], SA_INTERRUPT|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [FPE], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [HUP], NULL, 8) = 0
rt_sigaction(SIGHUP, {0x40109cac, [HUP], SA_INTERRUPT|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [INT], NULL, 8) = 0
rt_sigaction(SIGINT, {0x40109cac, [INT], SA_INTERRUPT|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [INT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [QUIT], NULL, 8) = 0
rt_sigaction(SIGQUIT, {0x40109cac, [QUIT], SA_INTERRUPT|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [QUIT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [TERM], NULL, 8) = 0
rt_sigaction(SIGTERM, {0x40109cac, [TERM], SA_INTERRUPT|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [TERM], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [XCPU], NULL, 8) = 0
rt_sigaction(SIGXCPU, {0x40109cac, [XCPU], SA_INTERRUPT|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [XCPU], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [XFSZ], NULL, 8) = 0
rt_sigaction(SIGXFSZ, {0x40109cac, [XFSZ], SA_INTERRUPT|0x4000000}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [XFSZ], NULL, 8) = 0
brk(0) = 0x11000
brk(0x32000) = 0x32000
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/fast-mult/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/v5l/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/fast-mult/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/tls/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/fast-mult/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/v5l/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/fast-mult/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/half/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=8767, ...}) = 0
mmap2(NULL, 8767, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001c000
close(3) = 0
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1a\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\30\26\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=44432, ...}) = 0
mmap2(NULL, 66328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40505000
mprotect(0x4050e000, 28672, PROT_NONE) = 0
mmap2(0x40515000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8) = 0x40515000
close(3) = 0
munmap(0x4001c000, 8767) = 0
futex(0x4051530c, FUTEX_WAKE, 2147483647) = 0
open("/proc/meminfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001c000
read(3, "MemTotal: 126496 kB\nMemFre"..., 1024) = 624
close(3) = 0
munmap(0x4001c000, 4096) = 0
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/ImageMagick-6.4.1/config/configure.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/ImageMagick-6.4.1/config/configure.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/doc/ImageMagick-6.4.1/configure.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/ImageMagick-6.4.1/configure.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("//.magick/configure.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("configure.xml", O_RDONLY) = 3
lseek(3, 0, SEEK_END) = 2406
lseek(3, 0, SEEK_SET) = 0
read(3, "<?xml version=\"1.0\" encoding=\"UT"..., 2406) = 2406
close(3) = 0
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/ImageMagick-6.4.1/config/locale.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/ImageMagick-6.4.1/config/locale.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/doc/ImageMagick-6.4.1/locale.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/ImageMagick-6.4.1/locale.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("//.magick/locale.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("locale.xml", O_RDONLY) = 3
lseek(3, 0, SEEK_END) = 2403
lseek(3, 0, SEEK_SET) = 0
read(3, "<?xml version=\"1.0\" encoding=\"UT"..., 2403) = 2403
close(3) = 0
open("english.xml", O_RDONLY) = 3
lseek(3, 0, SEEK_END) = 44814
lseek(3, 0, SEEK_SET) = 0
read(3, "<?xml version=\"1.0\" encoding=\"UT"..., 44814) = 44814
close(3) = 0
brk(0x56000) = 0x56000
brk(0x7a000) = 0x7a000
brk(0x9b000) = 0x9b000
brk(0xbf000) = 0xbf000
brk(0xe0000) = 0xe0000
brk(0x101000) = 0x101000
brk(0x125000) = 0x125000
brk(0x146000) = 0x146000
brk(0x16a000) = 0x16a000
brk(0x18b000) = 0x18b000
brk(0x1af000) = 0x1af000
brk(0x1d0000) = 0x1d0000
brk(0x1f5000) = 0x1f5000
brk(0x216000) = 0x216000
brk(0x237000) = 0x237000
brk(0x258000) = 0x258000
brk(0x279000) = 0x279000
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0
time(NULL) = 1215244432
times({tms_utime=29, tms_stime=3, tms_cutime=0, tms_cstime=0}) = 53430
times({tms_utime=29, tms_stime=3, tms_cutime=0, tms_cstime=0}) = 53430
getcwd("/", 4096) = 2
stat64("convert", 0xbe9949b8) = -1 ENOENT (No such file or directory)
stat64("YUV:label.yuv", 0xbe9929a0) = -1 ENOENT (No such file or directory)
stat64("YUV:label.yuv", 0xbe9929a0) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/ImageMagick-6.4.1/config/coder.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/ImageMagick-6.4.1/config/coder.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/doc/ImageMagick-6.4.1/coder.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/ImageMagick-6.4.1/coder.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("//.magick/coder.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("coder.xml", O_RDONLY) = 3
lseek(3, 0, SEEK_END) = 4560
lseek(3, 0, SEEK_SET) = 0
read(3, "<?xml version=\"1.0\" encoding=\"UT"..., 4560) = 4560
close(3) = 0
stat64("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/ImageMagick-6.4.1/modules-Q16/coders/yuv.la", 0xbe98e89c) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/ImageMagick-6.4.1/config/delegates.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/lib/ImageMagick-6.4.1/config/delegates.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/doc/ImageMagick-6.4.1/delegates.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/subhasishG/S8-042408/camera/root_fs/rootfs/share/ImageMagick-6.4.1/delegates.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("//.magick/delegates.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
open("delegates.xml", O_RDONLY) = 3
lseek(3, 0, SEEK_END) = 10611
lseek(3, 0, SEEK_SET) = 0
read(3, "<?xml version=\"1.0\" encoding=\"UT"..., 10611) = 10611
close(3) = 0
stat64("YUV:label.yuv", 0xbe9949b8) = -1 ENOENT (No such file or directory)
write(2, "convert: missing an image filena"..., 50convert: missing an image filename `YUV:label.yuv') = 50
write(2, ".\n", 2.
) = 2
io_submit(0x1, 0x1, 0xfbad2088 <unfinished ... exit status 1>

:shock:

Any ideas why am i having this problem??
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: missing an image filename Cross compiling for ARM9

Post by magick »

Post the results of this command:
  • convert -debug all logo: logo.pnm
The ImageMagick debugging may be more helpful than strace.
subhasish

Re: missing an image filename Cross compiling for ARM9

Post by subhasish »

Hi,
Following is the output of the command:

#MX27>convert -debug all logo: logo.pnm
1970-01-01T00:20:05+00:00 0:01 0.010u 6.4.1 Configure convert[1807]: coder.c/unknown/634/Configure
Loading coder map "built-in" ...
1970-01-01T00:20:05+00:00 0:01 0.140u 6.4.1 Module convert[1807]: module.c/unknown/1077/Module
Searching for module "MAGICK" using filename "magick.la"
1970-01-01T00:20:05+00:00 0:01 0.140u 6.4.1 Module convert[1807]: module.c/unknown/479/Module
Searching for coder module file "magick.la" ...
1970-01-01T00:20:05+00:00 0:01 0.140u 6.4.1 Configure convert[1807]: delegate.c/unknown/1166/Configure
Loading delegate map "built-in" ...
1970-01-01T00:20:05+00:00 0:01 0.230u 6.4.1 Configure convert[1807]: utility.c/unknown/809/Configure
Command line: convert {-debug} {all} {logo:} {logo.pnm}
1970-01-01T00:20:05+00:00 0:01 0.240u 6.4.1 Module convert[1807]: module.c/unknown/1077/Module
Searching for module "MAGICK" using filename "magick.la"
1970-01-01T00:20:05+00:00 0:01 0.240u 6.4.1 Module convert[1807]: module.c/unknown/479/Module
Searching for coder module file "magick.la" ...
1970-01-01T00:20:05+00:00 0:01 0.250u 6.4.1 Module convert[1807]: module.c/unknown/1077/Module
Searching for module "MAGICK" using filename "magick.la"
1970-01-01T00:20:05+00:00 0:01 0.250u 6.4.1 Module convert[1807]: module.c/unknown/479/Module
Searching for coder module file "magick.la" ...
1970-01-01T00:20:05+00:00 0:01 0.270u 6.4.1 Module convert[1807]: module.c/unknown/1077/Module
Searching for module "MAGICK" using filename "magick.la"
1970-01-01T00:20:05+00:00 0:01 0.270u 6.4.1 Module convert[1807]: module.c/unknown/479/Module
Searching for coder module file "magick.la" ...
1970-01-01T00:20:05+00:00 0:01 0.280u 6.4.1 Module convert[1807]: module.c/unknown/1077/Module
Searching for module "MAGICK" using filename "magick.la"
1970-01-01T00:20:05+00:00 0:01 0.280u 6.4.1 Module convert[1807]: module.c/unknown/479/Module
Searching for coder module file "magick.la" ...
1970-01-01T00:20:05+00:00 0:01 0.300u 6.4.1 Exception convert[1807]: blob.c/unknown/2422/Exception
UnableToOpenBlob `logo:': No such file or directory
1970-01-01T00:20:05+00:00 0:01 0.300u 6.4.1 Cache convert[1807]: cache.c/unknown/2191/Cache
destroy
1970-01-01T00:20:05+00:00 0:01 0.320u 6.4.1 Exception convert[1807]: convert.c/unknown/2651/Exception
MissingAnImageFilename `logo.pnm'
convert: UnableToOpenBlob `logo:': No such file or directory.
convert: MissingAnImageFilename `logo.pnm'.

Thanks,
subhasish

Re: missing an image filename Cross compiling for ARM9

Post by subhasish »

the -debug all option hinted that convert was not finding some modules. I resolved this problem, but still I am getting errors related to ghost scripts. I am using a hardware that has some memory constraints, hence I cannot install ghost script. I tried disabled ghost script by using the flag: --without-gslib, but still I am getting the same error:

mx27# convert -size 720x20 -background black -fill white label:"`date`" YUV:label.yuv
sh: line 1: gs: command not found
sh: line 1: gs: command not found
convert: UnableToReadFont `(null)'.
convert: PostscriptDelegateFailed `/tmp/magick-XXsBRjwq': No such file or directory.
sh: line 1: gs: command not found
sh: line 1: gs: command not found
convert: UnableToReadFont `(null)'.
convert: PostscriptDelegateFailed `/tmp/magick-XXaQHc8e': No such file or directory.
convert: MissingAnImageFilename `YUV:label.yuv'

I think I may be required to install fonts. Is there any tutorial available on the net for this.
Please note that I do not have X support either. Most of the tutorial I found are very straight forward (configure; make; make install and fontconfig). But i think I need to do all the configs manually. Is it possible to do that?

Thanks,
Subhasish
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: missing an image filename Cross compiling for ARM9

Post by magick »

To render fonts we recommend Freetype. Download / install Freetype then rerun the ImageMagick configure script. Check the last 50 or so lines and ensure the Freetype delegate library is validated. If so, install ImageMagick and your command should work.
subhasish

Re: missing an image filename Cross compiling for ARM9

Post by subhasish »

Hi,
Thanks a lot for your help.

I installed freetype and the command ran without any errors.
But I still have a problem, The convert utility is taking very long to generate the image (~15 secs). I use a processor thats running at 400 Mhz. Is it possible to speed things up. I cannot afford more that 750ms.
Following is the command I am using:
convert -size 720x20 -debug all -font /usr/digital.ttf -background black -fill white label:"`date`" YUV:mytime.yuv

output->>>>>>>

2008-07-08T14:29:09+00:00 0:01 0.010u 6.4.1 Configure convert[1919]: coder.c/unknown/634/Configure
Loading coder map "built-in" ...
2008-07-08T14:29:09+00:00 0:01 0.120u 6.4.1 Module convert[1919]: module.c/unknown/1077/Module
Searching for module "label" using filename "label.la"
2008-07-08T14:29:09+00:00 0:01 0.130u 6.4.1 Module convert[1919]: module.c/unknown/479/Module
Searching for coder module file "label.la" ...
2008-07-08T14:29:09+00:00 0:01 0.140u 6.4.1 Module convert[1919]: module.c/unknown/1097/Module
Opening module at path "/rootfs/lib/ImageMagick-6.4.1/modules-Q16/coders/label.la"
2008-07-08T14:29:09+00:00 0:01 0.140u 6.4.1 Module convert[1919]: module.c/unknown/1131/Module
Method "RegisterLABELImage" in module "label" at address 0x40674a70
2008-07-08T14:29:09+00:00 0:01 0.140u 6.4.1 Module convert[1919]: module.c/unknown/1146/Module
Method "UnregisterLABELImage" in module "label" at address 0x40674a4c
2008-07-08T14:29:09+00:00 0:01 0.150u 6.4.1 Configure convert[1919]: delegate.c/unknown/1166/Configure
Loading delegate map "built-in" ...
2008-07-08T14:29:09+00:00 0:01 0.230u 6.4.1 Module convert[1919]: module.c/unknown/1077/Module
Searching for module "YUV" using filename "yuv.la"
2008-07-08T14:29:09+00:00 0:01 0.240u 6.4.1 Module convert[1919]: module.c/unknown/479/Module
Searching for coder module file "yuv.la" ...
2008-07-08T14:29:09+00:00 0:01 0.240u 6.4.1 Module convert[1919]: module.c/unknown/1097/Module
Opening module at path "/rootfs/lib/ImageMagick-6.4.1/modules-Q16/coders/yuv.la"
2008-07-08T14:29:09+00:00 0:01 0.240u 6.4.1 Module convert[1919]: module.c/unknown/1131/Module
Method "RegisterYUVImage" in module "YUV" at address 0x4067ef18
2008-07-08T14:29:09+00:00 0:01 0.240u 6.4.1 Module convert[1919]: module.c/unknown/1146/Module
Method "UnregisterYUVImage" in module "YUV" at address 0x4067eef4
2008-07-08T14:29:09+00:00 0:01 0.260u 6.4.1 Configure convert[1919]: utility.c/unknown/809/Configure
Command line: convert {-size} {720x20} {-debug} {all} {-font} {./arialr.ttf} {-background} {black} {-fill} {white} {label:Tue Jul 8 14:29:09 UTC 2008} {YUV:mytime.yuv}
2008-07-08T14:29:09+00:00 0:01 0.270u 6.4.1 Configure convert[1919]: color.c/unknown/2732/Configure
Loading color map "built-in" ...
2008-07-08T14:29:10+00:00 0:02 0.790u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 12
2008-07-08T14:29:10+00:00 0:02 0.840u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 12
2008-07-08T14:29:10+00:00 0:02 0.900u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 24
2008-07-08T14:29:10+00:00 0:02 0.950u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 48
2008-07-08T14:29:10+00:00 0:02 1.010u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 47
2008-07-08T14:29:10+00:00 0:02 1.060u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 46
2008-07-08T14:29:10+00:00 0:02 1.120u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 45
2008-07-08T14:29:10+00:00 0:02 1.180u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 44
2008-07-08T14:29:10+00:00 0:02 1.240u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 43
2008-07-08T14:29:10+00:00 0:03 1.300u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 42
2008-07-08T14:29:10+00:00 0:03 1.360u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 41
2008-07-08T14:29:11+00:00 0:03 1.410u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 40
2008-07-08T14:29:11+00:00 0:03 1.470u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 39
2008-07-08T14:29:11+00:00 0:03 1.530u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 38
2008-07-08T14:29:11+00:00 0:03 1.590u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 37
2008-07-08T14:29:11+00:00 0:03 1.650u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 36
2008-07-08T14:29:11+00:00 0:03 1.700u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 35
2008-07-08T14:29:11+00:00 0:03 1.760u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 34
2008-07-08T14:29:11+00:00 0:03 1.820u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 33
2008-07-08T14:29:11+00:00 0:03 1.880u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 32
2008-07-08T14:29:11+00:00 0:03 1.930u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 31
2008-07-08T14:29:11+00:00 0:03 1.980u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 30
2008-07-08T14:29:11+00:00 0:03 2.040u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 29
2008-07-08T14:29:11+00:00 0:03 2.100u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 28
2008-07-08T14:29:11+00:00 0:03 2.150u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 27
2008-07-08T14:29:11+00:00 0:03 2.210u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 26
2008-07-08T14:29:11+00:00 0:04 2.270u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 25
2008-07-08T14:29:11+00:00 0:04 2.310u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 24
2008-07-08T14:29:11+00:00 0:04 2.370u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 23
2008-07-08T14:29:12+00:00 0:04 2.420u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 22
2008-07-08T14:29:12+00:00 0:04 2.480u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 21
2008-07-08T14:29:12+00:00 0:04 2.530u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 20
2008-07-08T14:29:12+00:00 0:04 2.590u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 19
2008-07-08T14:29:12+00:00 0:04 2.650u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 18
2008-07-08T14:29:12+00:00 0:04 2.690u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Area: 112.5kb/112.5kb/247.062mb
2008-07-08T14:29:12+00:00 0:04 2.690u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Memory: 112.5kb/112.5kb/185.297mb
2008-07-08T14:29:12+00:00 0:04 2.690u 6.4.1 Cache convert[1919]: cache.c/unknown/3526/Cache
open Tue Jul 8 14:29:09 UTC 2008[0] (heap memory, 720x20 112.5kb)
2008-07-08T14:29:12+00:00 0:04 2.800u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 18
2008-07-08T14:29:12+00:00 0:04 2.860u 6.4.1 Annotate convert[1919]: annotate.c/unknown/1442/Annotate
Font ./arialr.ttf; font-encoding none; text-encoding none; pointsize 18
2008-07-08T14:29:13+00:00 0:05 3.450u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Area: 112.5kb/112.5kb/247.062mb
2008-07-08T14:29:13+00:00 0:05 3.450u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Memory: 112.5kb/225kb/185.297mb
2008-07-08T14:29:13+00:00 0:05 3.460u 6.4.1 Cache convert[1919]: cache.c/unknown/3526/Cache
open mytime.yuv[0] (heap memory, 720x20 112.5kb)
2008-07-08T14:29:13+00:00 0:05 3.460u 6.4.1 Cache convert[1919]: cache.c/unknown/1957/Cache
memory => memory
2008-07-08T14:29:14+00:00 0:06 5.100u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Area: 112.5kb/112.5kb/247.062mb
2008-07-08T14:29:14+00:00 0:06 5.100u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Memory: 112.5kb/337.5kb/185.297mb
2008-07-08T14:29:14+00:00 0:06 5.100u 6.4.1 Cache convert[1919]: cache.c/unknown/3526/Cache
open mytime.yuv[0] (heap memory, 720x20 112.5kb)
2008-07-08T14:29:14+00:00 0:06 5.110u 6.4.1 Cache convert[1919]: cache.c/unknown/1957/Cache
memory => memory
2008-07-08T14:29:14+00:00 0:06 5.110u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][2x20+0+0]
2008-07-08T14:29:14+00:00 0:06 5.110u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+0+0]
2008-07-08T14:29:14+00:00 0:06 5.120u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+0+0]
2008-07-08T14:29:14+00:00 0:06 5.120u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+1+0]
2008-07-08T14:29:14+00:00 0:06 5.120u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+1+0]
2008-07-08T14:29:14+00:00 0:06 5.130u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+2+0]
2008-07-08T14:29:14+00:00 0:06 5.130u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+2+0]
2008-07-08T14:29:14+00:00 0:06 5.140u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+4+0]
2008-07-08T14:29:14+00:00 0:06 5.140u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+4+0]
2008-07-08T14:29:14+00:00 0:06 5.160u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+8+0]
2008-07-08T14:29:14+00:00 0:06 5.160u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+8+0]
2008-07-08T14:29:14+00:00 0:06 5.190u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+16+0]
2008-07-08T14:29:14+00:00 0:06 5.200u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+16+0]
2008-07-08T14:29:14+00:00 0:07 5.270u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+32+0]
2008-07-08T14:29:14+00:00 0:07 5.270u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+32+0]
2008-07-08T14:29:15+00:00 0:07 5.400u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+64+0]
2008-07-08T14:29:15+00:00 0:07 5.400u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+64+0]
2008-07-08T14:29:15+00:00 0:07 5.660u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+128+0]
2008-07-08T14:29:15+00:00 0:07 5.660u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+128+0]
2008-07-08T14:29:15+00:00 0:07 6.180u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+256+0]
2008-07-08T14:29:15+00:00 0:07 6.180u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+256+0]
2008-07-08T14:29:16+00:00 0:08 6.680u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+384+0]
2008-07-08T14:29:16+00:00 0:08 6.680u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+384+0]
2008-07-08T14:29:16+00:00 0:08 7.180u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+512+0]
2008-07-08T14:29:16+00:00 0:08 7.180u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+512+0]
2008-07-08T14:29:17+00:00 0:09 7.680u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+640+0]
2008-07-08T14:29:17+00:00 0:09 7.680u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x20+640+0]
2008-07-08T14:29:17+00:00 0:09 7.990u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x20+719+0]
2008-07-08T14:29:17+00:00 0:09 7.990u 6.4.1 Resource convert[1919]: resource.c/unknown/853/Resource
Memory: 112.5kb/225kb/185.297mb
2008-07-08T14:29:17+00:00 0:09 8.000u 6.4.1 Cache convert[1919]: cache.c/unknown/2191/Cache
destroy mytime.yuv[0]
2008-07-08T14:29:17+00:00 0:09 8.000u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Area: 112.5kb/112.5kb/247.062mb
2008-07-08T14:29:17+00:00 0:09 8.000u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Memory: 112.5kb/337.5kb/185.297mb
2008-07-08T14:29:17+00:00 0:09 8.010u 6.4.1 Cache convert[1919]: cache.c/unknown/3526/Cache
open mytime.yuv[0] (heap memory, 720x20 112.5kb)
2008-07-08T14:29:17+00:00 0:09 8.010u 6.4.1 Cache convert[1919]: cache.c/unknown/1957/Cache
memory => memory
2008-07-08T14:29:17+00:00 0:09 8.010u 6.4.1 Resource convert[1919]: resource.c/unknown/853/Resource
Memory: 112.5kb/225kb/185.297mb
2008-07-08T14:29:20+00:00 0:12 10.480u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Area: 56.25kb/56.25kb/247.062mb
2008-07-08T14:29:20+00:00 0:12 10.480u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Memory: 56.25kb/281.25kb/185.297mb
2008-07-08T14:29:20+00:00 0:12 10.480u 6.4.1 Cache convert[1919]: cache.c/unknown/3526/Cache
open mytime.yuv[0] (heap memory, 720x10 56.25kb)
2008-07-08T14:29:20+00:00 0:12 10.480u 6.4.1 Cache convert[1919]: cache.c/unknown/1957/Cache
memory => memory
2008-07-08T14:29:21+00:00 0:13 11.560u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Area: 28.125kb/28.125kb/247.062mb
2008-07-08T14:29:21+00:00 0:13 11.560u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Memory: 28.125kb/309.375kb/185.297mb
2008-07-08T14:29:21+00:00 0:13 11.560u 6.4.1 Cache convert[1919]: cache.c/unknown/3526/Cache
open mytime.yuv[0] (heap memory, 360x10 28.125kb)
2008-07-08T14:29:21+00:00 0:13 11.560u 6.4.1 Cache convert[1919]: cache.c/unknown/1957/Cache
memory => memory
2008-07-08T14:29:21+00:00 0:13 11.560u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][3x10+0+0]
2008-07-08T14:29:21+00:00 0:13 11.570u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x10+0+0]
2008-07-08T14:29:21+00:00 0:13 11.570u 6.4.1 Cache convert[1919]: cache.c/unknown/3973/Cache
mytime.yuv[0][4x10+1+0]
2008-07-08T14:29:21+00:00 0:13 11.570u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x10+1+0]
2008-07-08T14:29:21+00:00 0:13 11.580u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x10+2+0]
2008-07-08T14:29:21+00:00 0:13 11.580u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x10+4+0]
2008-07-08T14:29:21+00:00 0:13 11.600u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x10+8+0]
2008-07-08T14:29:21+00:00 0:13 11.630u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x10+16+0]
2008-07-08T14:29:21+00:00 0:13 11.690u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x10+32+0]
2008-07-08T14:29:21+00:00 0:13 11.800u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x10+64+0]
2008-07-08T14:29:21+00:00 0:13 12.010u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x10+128+0]
2008-07-08T14:29:22+00:00 0:14 12.420u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x10+256+0]
2008-07-08T14:29:22+00:00 0:14 12.740u 6.4.1 Cache convert[1919]: cache.c/unknown/4906/Cache
mytime.yuv[0][1x10+359+0]
2008-07-08T14:29:22+00:00 0:14 12.750u 6.4.1 Resource convert[1919]: resource.c/unknown/853/Resource
Memory: 56.25kb/253.125kb/185.297mb
2008-07-08T14:29:22+00:00 0:14 12.750u 6.4.1 Cache convert[1919]: cache.c/unknown/2191/Cache
destroy mytime.yuv[0]
2008-07-08T14:29:22+00:00 0:14 12.760u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Area: 28.125kb/28.125kb/247.062mb
2008-07-08T14:29:22+00:00 0:14 12.760u 6.4.1 Resource convert[1919]: resource.c/unknown/220/Resource
Memory: 28.125kb/281.25kb/185.297mb
2008-07-08T14:29:22+00:00 0:14 12.760u 6.4.1 Cache convert[1919]: cache.c/unknown/3526/Cache
open mytime.yuv[0] (heap memory, 360x10 28.125kb)
2008-07-08T14:29:22+00:00 0:14 12.760u 6.4.1 Cache convert[1919]: cache.c/unknown/1957/Cache
memory => memory
2008-07-08T14:29:22+00:00 0:14 12.760u 6.4.1 Resource convert[1919]: resource.c/unknown/853/Resource
Memory: 28.125kb/253.125kb/185.297mb
2008-07-08T14:29:24+00:00 0:16 14.780u 6.4.1 Resource convert[1919]: resource.c/unknown/853/Resource
Memory: 112.5kb/140.625kb/185.297mb
2008-07-08T14:29:24+00:00 0:16 14.790u 6.4.1 Cache convert[1919]: cache.c/unknown/2191/Cache
destroy mytime.yuv[0]
2008-07-08T14:29:24+00:00 0:16 14.810u 6.4.1 Resource convert[1919]: resource.c/unknown/853/Resource
Memory: 28.125kb/112.5kb/185.297mb
2008-07-08T14:29:24+00:00 0:16 14.820u 6.4.1 Cache convert[1919]: cache.c/unknown/2191/Cache
destroy mytime.yuv[0]
2008-07-08T14:29:24+00:00 0:16 14.830u 6.4.1 Resource convert[1919]: resource.c/unknown/853/Resource
Memory: 112.5kb/0b/185.297mb
2008-07-08T14:29:24+00:00 0:16 14.830u 6.4.1 Cache convert[1919]: cache.c/unknown/2191/Cache
destroy Tue Jul 8 14:29:09 UTC 2008[0]

I had also tried strace, it seems that imagemagick is using zillions of read and lseek commands.

Upon investigation found that the configure script is disabling mmap if we are cross compiling.
My board supports mmap. Is it possible to enable mmap?

I think if i can enable mmap, this would speed up imagemagick.

Thanks,
Subhasish
subhasish

RE:Cross compiling for ARM9;Floating point emulation issue.

Post by subhasish »

Hi,
Is there any problem related to Arm Floating point emulation and Image magick?
I was searching the net and found that image magick uses a lot of floating point but Arm uses floating point emulation which makes imagemagick very slow!!

Had anyone come across this??

Thanks,
Subhasish
subhasish

Re: missing an image filename Cross compiling for ARM9

Post by subhasish »

I enabled EABI support for my linux kernel. This reduced the time required to generate the image from 15 secs to 4 secs. But the read lseek is still present. It seems that the function renderFreetype api (magick/annotate.c) is the culpret. Is there any reason this API would call read lseek instead of mmap.

Thanks,
Subhasish
subhasish

Re: missing an image filename Cross compiling for ARM9

Post by subhasish »

Hi All,

After all the investigation, this is what I am able to achieve until now:
Compiler used:arm-none-linux-gnueabi-
Command used to generate the time stamp:
On I.MX27 (400MHz) (Using toolcahin - gcc 4.1.2 and ARM EABI enabled, Note that without EABI enabled the conversion is taking 15 seconds!!)
Output:
mx27 #>\time -v convert -size 720x20 -pointsize 20 -font /usr/arialr.ttf xc:black -fill white -annotate 0x0+0+18 "`date`" -colorspace YCbCr YUV:mytimenew.yuv
Note that time utility is itself consuming 30-40ms.

User time (seconds): 0.75
System time (seconds): 0.08
Percent of CPU this job got: 99%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0m 0.83s
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 0
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 809
Voluntary context switches: 20
Involuntary context switches: 3
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0
As we can see, the main problem is Cpu usage and time taken for convert.
The delay comes in three stages:
1. Searching and loading the libraries.
2. Annotating the image (some read lseeks are used. But X86 Pc is using mmap here)
3. Caching and copying the image (This is causing the highest delay and possibly some encoding is going on here)

For X86 PC -->(Intel(R) Pentium(R) 4 CPU 3.00GHz;cache size: 512 KB):

[root@sachi_test ImageMagick-6.4.1]#\time -v convert -size 720x20 -pointsize 20 -font /usr/share/X11/fonts/TTF/luximbi.ttf xc:black -fill white -annotate 0x0+0+18 "`date`" -colorspace YCbCr YUV:mytimenew.yuv

User time (seconds): 0.03
System time (seconds): 0.00
Percent of CPU this job got: 94%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:00.03
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 0
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 939
Voluntary context switches: 1
Involuntary context switches: 0
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 0

I was able to achieve a lot of optimization by changing the command. Can somebody suggest a better command to do this (disabling automatic hinting of image and font adjustments etc). This is what I am trying to achieve.
WxH=720x20

----------------------------------------------------------------------------------------
Tue Jul 15 18:50:37 IST 2008
----------------------------------------------------------------------------------------


Thanks,
Subhasish
Post Reply