owncloud / ios-app

📱The all-new iOS app for ownCloud
https://owncloud.org/news/new-ios-app-ready-public-app-store/
GNU General Public License v3.0
212 stars 121 forks source link

[FEATURE REQUEST] Image/PDF Rotation #722

Open hosy opened 4 years ago

hosy commented 4 years ago

I just got some images and PDFs uploaded in a shared folder and some images had the wrong orientation.

As a user I want to rotate the images directly in the detail view, because I do not want to open this files in a third party app for editing. Furthermore it would be cool to have this feature also for PDF pages in a PDF document.

@michaelstingl @mneuwert what do you think?

This sound like a new action category for the detail view.

TASKS

PR

michaelstingl commented 4 years ago

Furthermore it would be cool to have this feature also for PDF pages in a PDF document.

Maybe also useful for document scanner, where you'd rotate or delete some pages before upload.

This sound like a new action category for the detail view.

Yeah, maybe similar to the "Edit" or the (•••) icon in the Photos app…

mneuwert commented 4 years ago

@hosy yeah, would be useful IMHO.

@michaelstingl I think that the system view scanner is using already has cropping / rotation etc. When you tap scanned page, you will see editing UI, where you can also "Delete", "Retake", change format (color vs b&w vs grayscale).

mneuwert commented 4 years ago

@michaelstingl @hosy what would be cool for document scanner is to try to add OCR (sort of) using Vision framework. There is VNRecognizeTextRequest which returns . We could add recognized text along with JPEG encoded image of the page. That would make the scanned documents text-searchable and also more accessible.

hosy commented 4 years ago

@mneuwert @michaelstingl totally agree! Would also be interesting to give an option to export the result as text file.

mneuwert commented 4 years ago

@michaelstingl @mneuwert Another improvement for scanner would be also to add some control over JPEG compression allowing the user to choose a right compromise between quality and size (low, med, best -> least compression). Right now we have hardcoded a compression rate at 75%.

michaelstingl commented 4 years ago

add OCR (sort of) using Vision framework. There is VNRecognizeTextRequest which returns . We could add recognized text along with JPEG encoded image of the page. That would make the scanned documents text-searchable and also more accessible.

New issue please

mneuwert commented 4 years ago

@michaelstingl Created #724