Giter Club home page Giter Club logo

Comments (12)

Swati4star avatar Swati4star commented on May 30, 2024 1

How does this look like for UI?

We can add appropriate icons for the options.
whatsapp image 2018-06-06 at 8 24 47 pm

This will make adding further enhancement options also easier.

from images-to-pdf.

anandkumarkparmar avatar anandkumarkparmar commented on May 30, 2024 1

Great 👍

from images-to-pdf.

anandkumarkparmar avatar anandkumarkparmar commented on May 30, 2024 1

@Swati4star yes.

from images-to-pdf.

anandkumarkparmar avatar anandkumarkparmar commented on May 30, 2024

Hi @Swati4star, is anyone working on this? Can you suggest the flow how do you want this? So, I can start.

from images-to-pdf.

Swati4star avatar Swati4star commented on May 30, 2024

Yeah sure. You can take it up. I'll share the flow soon. Can you search, how will you create password protected PDF by the time.

from images-to-pdf.

anandkumarkparmar avatar anandkumarkparmar commented on May 30, 2024

Yes, I have searched already.

Please refer this:
https://viralpatel.net/blogs/password-protect-pdf-itext-java/
https://developers.itextpdf.com/question/how-protect-pdf-username-and-password

from images-to-pdf.

Swati4star avatar Swati4star commented on May 30, 2024

Perfect.
So, the UI I have in mind is:
We can add this as similar to the 'image enhancement options'.
Right now, you can just add a button 'Add password to the PDF', which will open up a dialog with the entry for username & password.

The UI might look bad for now. (The 'image enhancement options' -> 'Crop Images' also look a bit weird right now) Just implement this, for now, I'll look some better UI options.
Please suggest if you have something else in mind.

from images-to-pdf.

anandkumarkparmar avatar anandkumarkparmar commented on May 30, 2024

My Suggestion:

  1. Capture photo
  2. Press the button "Create PDF"
  3. Show toggle button with text "Password protected PDF?" on "Creating PDF" dialog
    3.1. If Toggle is yes show one EditText for entering password, then create pdf with password provided.
    3.2. Else don't show EditText and create pdf without password protected.

from images-to-pdf.

anandkumarkparmar avatar anandkumarkparmar commented on May 30, 2024

Looks great.

from images-to-pdf.

Swati4star avatar Swati4star commented on May 30, 2024

You can start implementing it. We can break it into 2 parts.

  1. Changing the existing UI similar to above. (You can create a new issue for this & submit that one as different PR)
  2. Adding password protect PDF option. (this issue only #61)

from images-to-pdf.

Swati4star avatar Swati4star commented on May 30, 2024

@anandkumarkparmar Are you working on this now?

from images-to-pdf.

Swati4star avatar Swati4star commented on May 30, 2024

Fixed by #101! Thanks to @anandkumarkparmar 👍

from images-to-pdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.