How to use
- Turn bars-32x16.png by 90 degrees and expect 16 by 32.
- Turn the same bars by 180 degrees and expect 32 by 16.
- Do not look for a 15 degree option.
Formula / how it works
bars-32x16.png turned 90 degrees clockwise is 16 pixels wide and 32 tall. The old width becomes the new height. Turned 180 degrees it is 32 by 16 again, upside down relative to the start. Both downloads are PNG. The pixels are redrawn, so a camera note that might have been in another file is not copied. These bars had no such note.
Only 90, 180 and 270 are offered. A 15 degree tilt is not a menu item, because the canvas turn used here is a quarter turn with no resampling of a diagonal edge. The 90 degree result swaps the axes. The 180 degree result does not.
The red half and the blue half move with the turn. This page does not also flip. If you need a mirror, that is the flipper. If you need a PDF page turned without redrawing, that is the PDF rotate page, which sets a flag instead of painting pixels.
The 90 degree PNG is 16 by 32 because the 32-pixel side stands up. The 180 degree PNG is 32 by 16 because a half turn does not swap the axes. Both files are redrawn, so this is not the PDF rotation flag. A 15 degree tilt is not offered. The bars file had no camera note to lose, and a photograph would lose that note here because only pixels are copied onto the new canvas. Use the flipper when you need a mirror instead of a turn. The download does not replace bars-32x16.png on disk.
Count the sides after the turn before you save the PNG over a working copy. 16 by 32 means the bars are standing. 32 by 16 after 180 degrees means they are upside down and the frame did not change shape. Neither result is a PDF, and neither result sets a rotation flag a viewer can ignore. If a photograph had GPS in its file, that note is gone after this redraw. The bars never had one. A diagonal you can still read as horizontal was not produced here, because 15 degrees is not on the menu.
Stand the bars up and the file is 16 wide and 32 tall. Lay them upside down and the file is 32 wide and 16 tall. Those two PNGs are the whole demonstration. A square would look less dramatic because the frame would not change. The bars are not square, which is why the 90 degree case is obvious. The redraw drops notes a camera might have stored. Quarter turns only. The PDF rotate page is the one that sets a flag instead of painting.
Save the 16 by 32 file under a new name so the 32 by 16 original remains. The 180 degree file can share the original frame and still be a different picture, because the halves have swapped ends. Do not send either PNG through a JPEG if the edges of the flat colours matter. A later JPEG would be a separate choice on the PNG to JPG page.
A mirror instead of a turn is image flipper. A PDF flag instead of pixels is PDF rotate.
Worked examples
Bars turned 90 degrees
Inputs: iro-f: bars-32x16.png | iro-deg: 90
On this page, take bars-32x16.png, then 90 and press Rotate. Quarter turns only. 90 degrees swaps the axes.
Result: Rotated 90 degrees clockwise: 16×32 PNG. 0.1 KB
Bars turned 180 degrees
Inputs: iro-f: bars-32x16.png | iro-deg: 180
On this page, take bars-32x16.png, then 180 and press Rotate. Quarter turns only. 90 degrees swaps the axes.
Result: Rotated 180 degrees clockwise: 32×16 PNG. 0.1 KB
Use cases
- Swapping the axes of a 32 by 16 icon.
- Turning that icon upside down without swapping the axes.
- Dropping metadata because the pixels are redrawn.
- Leaving a diagonal tilt to a different tool.
Tips & limitations
- 90 degrees makes the old width into the new height.
- 180 degrees keeps 32 by 16.
- The download is PNG.
- PDF rotation is a flag, not this pixel turn.
FAQ
What size is the 90 degree turn of the bars?
16 by 32. The 32-pixel width becomes the height.
What size is the 180 degree turn?
32 by 16. The axes do not swap.
Is 45 degrees available?
No. The menu is 90, 180 and 270.
Are camera notes kept?
No. The pixels are drawn onto a new canvas.
Does this set a PDF rotation flag?
No. That flag is the PDF rotate page. This page paints pixels.
Which file was turned?
bars-32x16.png, the red-and-blue bars.
16 by 32 and 32 by 16 describe bars-32x16.png. A square photo will stay square at every quarter turn.