GithubHelp home page GithubHelp logo

Comments (5)

StefanOltmann avatar StefanOltmann commented on June 13, 2024 2

https://learn.microsoft.com/en-us/uwp/api/windows.storage.fileproperties.imageproperties?view=winrt-22621

This entails incorporating Windows-specific system code into a Java library that is currently platform-independent. Maybe even a DLL lib with JNI access would need to be implemented, but it would only work for Windows.

The resolution for this issue should be implemented in the end-user application utilizing the library. It involves preventing users from selecting OneDrive stub files and encouraging them to utilize a dedicated OneDrive source file.

Consequently, this approach aligns with how I am addressing the problem in Ashampoo Photos.

However, this may be an viable idea for metadata-extractor-dotnet.

@drewnoakes
I suggest closing this as "not planned" to maintain metadata-extractor's complete platform agnosticism.

from metadata-extractor.

drewnoakes avatar drewnoakes commented on June 13, 2024 2

However, this may be an viable idea for metadata-extractor-dotnet.

The .NET library is also cross-platform so cannot take Windows dependency.

I understand the original request here but feel it is out of scope for the library.

from metadata-extractor.

HEIC-to-JPEG-Dev avatar HEIC-to-JPEG-Dev commented on June 13, 2024

https://learn.microsoft.com/en-us/uwp/api/windows.storage.fileproperties.imageproperties?view=winrt-22621

This entails incorporating Windows-specific system code into a Java library that is currently platform-independent. Maybe even a DLL lib with JNI access would need to be implemented, but it would only work for Windows.

The resolution for this issue should be implemented in the end-user application utilizing the library. It involves preventing users from selecting OneDrive stub files and encouraging them to utilize a dedicated OneDrive source file.

Consequently, this approach aligns with how I am addressing the problem in Ashampoo Photos.

However, this may be an viable idea for metadata-extractor-dotnet.

@drewnoakes I suggest closing this as "not planned" to maintain metadata-extractor's complete platform agnosticism.

The problem is, that for OneDrive, there is an open API, but for other services like iCloud, there is not, so we have to rely on the Operating System and the sync system.

from metadata-extractor.

drewnoakes avatar drewnoakes commented on June 13, 2024

I understand, though that feels more like a request for a new kind of library (to paper over such differences).

from metadata-extractor.

StefanOltmann avatar StefanOltmann commented on June 13, 2024

The problem is, that for OneDrive, there is an open API, but for other services like iCloud, there is not, so we have to rely on the Operating System and the sync system.

All cloud services provide a REST API, except iCloud, which is not meant for direct use but is instead accessed transparently through Apple Photos.

However, cloud APIs often return only partial data. The good news is that metadata-extractor stops reading from InputStream as soon as it has all metadata, allowing you to leverage this behavior to download only the file headers from the APIs. A solution to your problem already exists; you just need to discourage users from selecting the OneDrive folder on disk and guide them to use the OneDrive REST instead.

Considering your previous mention that the WinRT approach is notably slow, it raises the question of what kind of user experience it would provide to your users.

from metadata-extractor.

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.