Giter Site home page Giter Site logo

Comments (4)

ngotandatnnst avatar ngotandatnnst commented on May 28, 2024 1

I don't know that is not allowed by native APIs. Thanks for spending time and for usefull infomation.

In fact, I am finding a package allow me to do that feature but hasn't found yet (now I know it's not allowed by native APIs πŸ˜… ). I just changed using packages like image_gallery_saver and saver_gallery to your Gal package because your Gal packge is clearer, up to date, and your support is extremely greate base on reply time and useful infomation

Hope you keep going this awesome package and create more usefull packages

from gal.

natsuk4ze avatar natsuk4ze commented on May 28, 2024 1

I am sorry @ngotandatnnst. But your message helps me to maintain this package ! Thank you πŸ’š

from gal.

ngotandatnnst avatar ngotandatnnst commented on May 28, 2024

In addition, if donwloading file isn't too large, that feature still make our code shorter and clearer. So, our code are not errorprone

from gal.

natsuk4ze avatar natsuk4ze commented on May 28, 2024

Thank you for submitting the issue ! @ngotandatnnst 🀝.

I have researched the native APIs swift photo-kit and android MediaStore and could not find a way to implement this feature.
For photo-kit, We need to specify the local URL of the file,

: PHAssetChangeRequest.creationRequestForAssetFromVideo(atFileURL: url)!

For MediaStore, saving directly to the "Pictures" or "Movies" directory, which is the destination for gallery, has been deprecated since Android 10.

Are there other packages that implement this feature?

Apart from that, there is a good package called ffmpeg_kit_flutter as a general optimization approach for large videos. It allows you to convert videos to higher compression video codecs and file formats, split videos, and more.

I hope this helps πŸ’š

from gal.

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.