adhikjoshi / ebookdroid

Automatically exported from code.google.com/p/ebookdroid
0 stars 0 forks source link

Auto Crop fails if "Postive images in night mode" is on #907

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
>What steps will reproduce the problem?

1. download the pdf from google drive:

https://drive.google.com/file/d/0B7P6jm3gnLGYUDE3UElya2tXVzQ/view?usp=sharing

and open it with EbookDroid.

2. Set Night mode and select "Postive images in night mode" and Crop 
Pages(auto), and Force portrait, and Fit to Height

3. page down several pages

> What is the expected output?

auto cropping works for every page

> What do you see instead?

auto cropping doesn't work after navigating several pages

> What version of the product are you using?

v2.2.1

> On what operating system?

Android 4.2.2

> What device are you using?

Samsung Galaxy Mega, GT-I9200

> Please provide any additional information below.

This can be worked around by not turning "postive images" on. However, for some 
ebooks, the "positive images" mode is very good, and manually cropping a 
vertically-printed book is annoying.  I would appreciate if you can help fix it.

Original issue reported on code.google.com by albca...@gmail.com on 9 Jan 2015 at 2:13

GoogleCodeExporter commented 8 years ago
I tried to play around with auto cropping. Sorry, but I am unable to improve it 
for positive images.

Original comment by Andrei.K...@gmail.com on 22 Jan 2015 at 7:57

GoogleCodeExporter commented 8 years ago
I'll try to find some time and study your code.

Thanks all the same!

Original comment by albca...@gmail.com on 22 Jan 2015 at 8:03