The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Rotate An Image With ImageMagick

TODO: Pull subtitle into page object
Code
# white (or possibly black) background
magick mogrify -rotate 45 a.png

# transparent background
magick mogrify -background 'rgba(0,0,0,0)' -rotate 45 a.png

# black background
magick mogrify -background 'rgb(0,0,0)' -rotate 45 a.png

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Rotate An Image With ImageMagick

-- code
-- bash

# white (or possibly black) background
magick mogrify -rotate 45 a.png

# transparent background
magick mogrify -background 'rgba(0,0,0,0)' -rotate 45 a.png

# black background
magick mogrify -background 'rgb(0,0,0)' -rotate 45 a.png



-- list

- Rotates the image 45 degrees clockwise

- Rotates the image in place (i.e. it 
updates the file)

- Expands the canvas to cover the points
which extend out on the rotate

- Puts a white background on area that
is expanded


-- blurb

-- categories
-- ImageMagick 

-- metadata
-- date: 2023-04-09 22:40:47
-- id: 2odu3cup
-- site: aws
-- type: post
-- status: published