Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8843629
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:16:32+00:00 2026-06-14T11:16:32+00:00

convert ‘a.png’ \ \( -background none -geometry 100×100+150+50! -rotate 5 ‘b.png’ \) \ -composite

  • 0
convert 'a.png' \
\( -background none -geometry 100x100+150+50! -rotate 5 'b.png' \) \
-composite 'a.png';

This is a simple script to rotate and place an image b on top of image a. My problem is that image b is being rotated within the defined area (100×100):

bad

How do I rotate the whole image frame as such:

good

Or, put it simple:

enter image description here

  1. is the original picture (a) with (b) picture on top of it
  2. picture two is how im rotates the (b) picture
  3. is how I need the picture rotated
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T11:16:34+00:00Added an answer on June 14, 2026 at 11:16 am

    With a little help from Freenode community, here is the answer:

    convert 'a.png' \( 'b.png' -resize 100x100 -rotate 50 \) -geometry +100+50 -composite 'a.png';
    

    The problem was that -geometry restricted the rotated element to the specified dimensions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

convert input.png -extent 100x100 -gravity center -background white output.png If the input is 50x50
Convert this: {items:[{id:BLE89-A0-123-384,weight:100,quantity:3}, ... {id:BLE10-A0-123-321,weight:100,quantity:4}], country:JUS, region:A, ... timeout:FILLER} To this: {BLE89-A0-123-384: 3, BLE10-A0-123-321:
convert this: $300 to this : 300 can't do it with intval() or (int)
How can I convert this to preg_match? $urlregex = (https?|ftp)://([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&;%$-]+)*@)*((?:(25[0-5]|2[0-4]\d|[01]\d{2}|[1-9]\d|[1-9])\.){3}(25[0-5]|2[0-4]\d|[01]\d{2}|[1-9]\d|[1-9]|0)|localhost|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:\d+)*(($|[a-zA-Z0-9.,?'+\\&;%\$#=~_-]+))*; if (!eregi($urlregex, $_POST['url'])) {
I convert my php array to json using json_encode, Than I record this json
I convert a character to binary using std::bitset<CHAR_BIT> binary('c'); but this doesn't work for
I convert org.w3c.dom.Element to String in this way: StringWriter writer = new StringWriter(); Transformer
I am trying to convert an NSImage to a CIImage. When I do this,
I convert small html strings to pdf like this: // set a path to
Convert JPG image to PNG I have to convert a jpg image into png

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.