Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add expansion flag to Rotate.rotate() #31

Closed
GoogleCodeExporter opened this issue Mar 31, 2016 · 2 comments
Closed

Add expansion flag to Rotate.rotate() #31

GoogleCodeExporter opened this issue Mar 31, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Convert Bitmap in to Pix Object
2. Rotate pix with Leptonica using this function from api : 
Rotate.rotate(Pix pixs, float degrees, boolean quality)
I am calling it this way : 
Pix temp = Rotate.rotate(pix, 90f, true);


What is the expected output? What do you see instead?
I am expecting rotated Image , but just a content of the Image is rotated.The 
Image self has old Dimension (I add images, you can see it)
Do I am using wrong this function or this is api issue?
Any help is very welcome.
What version of the product are you using? On what operating system?
tess-two on ubuntu 10.04

Please provide any additional information below.
I am writing with same Problem here : 
http://stackoverflow.com/questions/9376490/rotate-laptonica-pix

Original issue reported on code.google.com by doomdeve...@gmail.com on 22 Feb 2012 at 1:55

Attachments:

@GoogleCodeExporter
Copy link
Author

The Java version of the rotate() method should provide a flag for expansion of 
the destination image, which should be tested in RotateTest.

Filing another bug re: corruption in the output image.

Original comment by alanv@google.com on 11 Sep 2012 at 8:52

  • Changed title: Add expansion flag to Rotate.rotate()
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

Original comment by alanv@google.com on 14 Sep 2012 at 6:34

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant