Android-TiffBitmapFactory icon indicating copy to clipboard operation
Android-TiffBitmapFactory copied to clipboard

Unnecessary deprecation of methods that operate on File?

Open vbresan opened this issue 6 months ago • 2 comments

Methods that operate on File objects (e.g. TiffBitmapFactory.decodeFile(), TiffConverter.convertTiff*()) work perfectly well with files located in the app-specific directory. Therefore, they do not need to be deprecated. Please correct me if my understanding is incorrect.

vbresan avatar Nov 08 '25 16:11 vbresan

According to android developers documentation starting API 19 better way is use Documents api, not direct File(). You can check it at https://developer.android.com/training/data-storage. Anyway deprecated methods will not be removed from library

Beyka avatar Nov 10 '25 07:11 Beyka

Please note that I am talking about app-specific files. From the referenced document:

Access and store files You can use the File API to access and store files.

vbresan avatar Nov 10 '25 07:11 vbresan