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

Quality of contact photos after import #76

Open
J4CKED opened this issue Nov 21, 2022 · 3 comments
Open

Quality of contact photos after import #76

J4CKED opened this issue Nov 21, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@J4CKED
Copy link

J4CKED commented Nov 21, 2022

Question. As you probably know, exporting and importing contacts along with photos causes the quality of the photos to be degraded. With one import, there is not much difference. However, after several imports, you can see that the photo is of poor quality (compressed).
Do you know why this happens? Is this also happening in your application?

Unfortunately, I haven't had a chance to test it yet.
BTW. i described this problem a long time ago on xda
https://forum.xda-developers.com/t/app-4-0-true-phone-best-dialer-contact-manager-replacement.2934816/post-83062639
(Unfortunately the links to the photos are out of date)

@tmo1
Copy link
Owner

tmo1 commented Nov 22, 2022

Question. As you probably know, exporting and importing contacts along with photos causes the quality of the photos to be degraded. ...

Do you know why this happens? Is this also happening in your application?

Actually, I don't use contact photos, so I have no first-hand experience of this :) Searching the web, however, suggests that the problem may be due to the fact that Android stores contact photos in two different places: low resolution thumbnails are stored in the Contacts database itself, which SMS I/E (and presumably other similar apps) backs up, while high resolution images are stored outside the database, in the filesystem, and so SMS I/E does not back them up. (See here, here, here, here, and here.)

If this is the problem, then the fix is relatively straightforward: modify the export and import routines to add the filesystem images to the export and import.

If this is the problem, however, then I would expect the complete quality degradation to occur after a single export / import cycle, rather than the progressive degradation over several such cycles that you describe. Proper testing and documentation of the problem are necessary before proceeding further.

@IzumiSenaSora
Copy link

Sorry i am bad in English...

I don't know about @J4CKED problem

But whenever i try to export contacts i got photo quality loss ... So i think if there is a fix to backup higher quality photos ... That would be appreciated ... Btw thanks for this apps

@tmo1
Copy link
Owner

tmo1 commented Jan 4, 2023

Thank you for the report. I'm considering overhauling the import / export format, and if / when I do so, I may be able to include a fix for this problem as well.

@tmo1 tmo1 added the enhancement New feature or request label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants