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

Image save on readonly mode #456

Closed
Develeste opened this issue Nov 14, 2021 · 7 comments
Closed

Image save on readonly mode #456

Develeste opened this issue Nov 14, 2021 · 7 comments

Comments

@Develeste
Copy link
Contributor

My issue is about [Mobile]

latest flutter version in stable channel on branch master

In readOnly mode, it seems to be no way to download images displayed on the screen by touching them.

Can you tell me if it is possible and how to?

@singerdmx
Copy link
Owner

We are using ImageTapWrapper class which is based on library photo_view.
Do you have a library in mind that provides the functionality of downloading photo?

@singerdmx
Copy link
Owner

We probably can give users two options with a popup:

  1. Zoom in to view
  2. Save to gallery https://stackoverflow.com/questions/49987707/how-to-save-an-image-to-the-photo-gallery-using-flutter

@singerdmx
Copy link
Owner

Related to b18b17d

@singerdmx
Copy link
Owner

@mrverdant13 What do you think?

@Develeste
Copy link
Contributor Author

I think that It is good to add a save icon button on the ImageTapWrapper using some packakge that give us saving feature.

@singerdmx
Copy link
Owner

singerdmx commented Jan 18, 2022

showDialog =>

SimpleDialog(
  // no title
  children: [
    SimpleDialogItem(
      icon: Icons.save,
      color: Colors.orange,
      text: 'Save',
      onPressed: () {
        // GallerySaver.saveImage(image.path);
      },
    ),
    SimpleDialogItem(
      icon: Icons.zoom_in,
      color: Colors.green,
      text: 'Zoom',
      onPressed: () {
        // photo_view
      },
    )

https://material.io/components/dialogs/flutter#simple-dialog

@singerdmx
Copy link
Owner

See #593

@alexconsel alexconsel mentioned this issue Jul 22, 2024
7 tasks
@cledsonv cledsonv mentioned this issue Sep 7, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants