Posted on 2011-10-20
Last Modified: 2012-05-12
Hi I want to merge two images using imagemagik.

Image one is frame, image two is what i want to merge on frame.

While merging, image two will be:
    1. Resized
    2. Rotated (through center, not through edges)
    3. Put at specific position to be merged

Command which I am using is:

convert frame.jpg \( model.png -resize 205 x 40 -background none -rotate 0 \) -gravity center -composite frame_1.jpg

because i am using -gravity center (to rotate model.png from center rather than edges) i am unable to position model.png at specific position.

Thanks in advance
Question by:nandananushil1
    LVL 107

    Accepted Solution

    What is the question?

    Are you open to using a GD solution?

    Author Comment

    hi ray

    yeah i am open to use GD if rotation works out correctly

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
    Recently, an awarded photographer, Selina De Maeyer (, completed a photo shoot of a beautiful event ( in An…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now