File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jython / Python Flipping the top half and bottom half horizontally

 
john calzone
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to "cut" a picture in half and flip both sides horizontally. See link below.

http://imgur.com/a/FAksh

1. Original picture
2. What the output needs to be
3. What I'm getting

This is what I have, but all it does is flip the picture horizontally

http://pastebin.com/T1SGedL8)

I'm trying to go from
[1 2]
[3 4]
[5 6]
[7 8]

to

[3 4]
[1 2]
[7 8]
[5 6]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic