>
> Hi!

Hi

Are you sure that it was working with version 6.2.4.5?

Yes, I just test it and it works on Gutsy but the version is 6.2.4

I have tested it here and it outputs the same message, even with Debian's
> 6.4.0.9
> I couldn't find something similar at
> http://www.imagemagick.org/Usage/compose/ (using convert input1 -composite
> input2 -composite outpt)

Here: http://www.imagemagick.org/Usage/layers/#convert


> Using
> convert image_1.jpg image_2.jpg -composite output.jpg
> it works as expected.

I tried that and it works for simple things but when I changed the command
in avatar-factory it didn't work as expected.

I changed this:

>                $avatar_factory_PATH/themes/CD/base.png -geometry  +0+0
> -composite \
>                /tmp/thumb$$.png  -geometry  +19+5  -composite \
>                $avatar_factory_PATH/themes/CD/top.png  -geometry +0+0
> -composite \
>                "$icons_PATH/$icon_NAME.png"


 To this:

>                $avatar_factory_PATH/themes/CD/base.png -geometry  +0+0  \
>                /tmp/thumb$$.png  -geometry  +19+5  \
>                $avatar_factory_PATH/themes/CD/top.png  -geometry +0+0
> -composite \
>                "$icons_PATH/$icon_NAME.png"
>

The complete script for the cd theme:

> create_theme_icon () {
>     create_theme () {
>         convert  \
>                $avatar_factory_PATH/themes/CD/base.png -geometry  +0+0
> -composite \
>                /tmp/thumb$$.png  -geometry  +19+5  -composite \
>                $avatar_factory_PATH/themes/CD/top.png  -geometry +0+0
> -composite \
>                "$icons_PATH/$icon_NAME.png"
>     }
>     picture_aspect=$(($(identify -format %w "$grabber_picture") -
> $(identify -format %h "$grabber_picture")))
>
>     if [ "$picture_aspect" = "0" ]; then
>         convert "$grabber_picture"  -thumbnail 98x98 /tmp/thumb$$.png
>     elif [ "$picture_aspect" -gt "0" ]; then
>         convert "$grabber_picture"  -thumbnail 300x98 /tmp/thumb$$.png
>         convert /tmp/thumb$$.png -crop 98x98+$(( ($(identify -format %w
> /tmp/thumb$$.png) - 98) / 2))+0  +repage /tmp/thumb$$.png
>     else
>         convert "$grabber_picture"  -thumbnail 98x500 /tmp/thumb$$.png
>         convert /tmp/thumb$$.png -crop 98x98+0+$(( ($(identify -format %h
> /tmp/thumb$$.png) - 98) / 2))  +repage /tmp/thumb$$.png
>     fi
>     create_theme
>
>     rm  /tmp/thumb$$.???
> }
>


** Attachment added: "unnamed"
   http://launchpadlibrarian.net/13898633/unnamed

-- 
imagemagick convert -composite option not working
https://bugs.launchpad.net/bugs/221857
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to