Horizontal flip
posted 11 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
What's a simple way to flip an Image along the vertical or horizontal? I've searched high and low and surprised to find that I can't find something short and compact.
Thanks,
Edward.
Thanks,
Edward.
posted 11 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Use trigonometry to determine the correct width/height, using transparency to prevent the black area.
Edward Nunez
Ranch Hand
Posts: 39
posted 11 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Thanks Koilraj but I think you may have misinterpreted the question. I was looking for a way to mirror an image.
posted 11 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Hi,
Following code contains a function that will take a BufferedImage and return a BufferedImage that is horizontally flipped:
If you are looking at vertically flipping an image, checkout the snippet below:
Hope this helps.
Following code contains a function that will take a BufferedImage and return a BufferedImage that is horizontally flipped:
If you are looking at vertically flipping an image, checkout the snippet below:
Hope this helps.
posted 11 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Here is some old code I found on the web a long time ago. It works for an Icon. It should also work for an image but I have never tested it:
| Good night. Drive safely. Here's a tiny ad for the road: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |










