Giter Club home page Giter Club logo

Comments (5)

major-mayer avatar major-mayer commented on July 4, 2024

So at least for a single (!) conversion this should already be the case.
The option to convert the file to JPEG should only show up, if the file type is HEIC/ HEIF.

For multiple images, this has not been implemented, mainly because I don't know how it's done.
I tried specifying a mime type for my item in OCA.Files.App.fileList.multiSelectMenuItems but this seems to have no effect on the possible options.
I could need some help on this, because I don't have time to investigate this further.
Do you know of any app that allow doing multi select action based on the file type? This could help greatly.

from imageconverter.

ErinNoel1 avatar ErinNoel1 commented on July 4, 2024

I am not sure. Full disclosure, I am not very familiar with coding or development, so that would be lost on me. I was mainly just asking if you already knew how to implement this possibly, and maybe it was a mild oversight or something.

As far as other apps, I have not explored a ton of them yet as I am in the beginning, testing phases of deploying nextcloud for my company and am still dipping my toes in the water.

I would like to say though, thanks so much for your hard work in developing this app to begin with, it works fantastically from my testing when used as intended :)

from imageconverter.

ErinNoel1 avatar ErinNoel1 commented on July 4, 2024

I will comment that selecting a single jpeg file still seems to show the option to convert to jpeg, which fails with an error message of course.

from imageconverter.

major-mayer avatar major-mayer commented on July 4, 2024

Hi @ErinNoel1
I'm very sorry for the very late response of mine.
To be transparent, developing this app any further than keeping it barely working has no priority for me right now, unfortunately.
But anyway, thank you very much for your support. I'm glad to hear that it works for you (more or less).

If you select a single JPEG file and then use the "Actions" button (with the three dots), then you are right, the option to convert it to JPEG is still shown.
Again, if you find any app that is able to distinguish between different file types for this menu, please give me a heads-up.
grafik

But this should not be the case if you open the menu on the file itself:
grafik
Here you can see that the option to convert the (JPEG) image is not there.

from imageconverter.

major-mayer avatar major-mayer commented on July 4, 2024

This works in version 2.0.0 (compatible only with Nextcloud 28).
The option to convert multiple images is not shown when there are non HEIC/HEIF files in the selection.

from imageconverter.

Related Issues (15)

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.