Commit graph

128 commits

Author SHA1 Message Date
Abhinav 8d79b443fe add setLocalFile and remove appendPhotoSwipeProps funcitons 2021-11-04 18:46:04 +05:30
Abhinav af302f6980 send fileType info with exif data missing logs 2021-11-02 20:50:07 +05:30
Abhinav c4dc9926e0 return file extension asexactType if file type detection fails 2021-10-27 11:43:13 +05:30
Abhinav 384fd9799a improved error logs for failure during thumbnail generation 2021-10-27 11:33:02 +05:30
Abhinav e850c8c242 fix typo 2021-10-27 10:55:43 +05:30
Abhinav 242deebb4c make max dimension(width or height) = 720px 2021-10-27 10:30:57 +05:30
Abhinav 81c77790df add comments 2021-10-27 09:13:43 +05:30
Abhinav 60c820a9be refactor code 2021-10-27 09:13:43 +05:30
Abhinav 01dc6142d0 log thumbnail dimension too 2021-10-27 09:13:43 +05:30
Abhinav 23356bf132 update thubnail dimension calculation 2021-10-27 09:13:43 +05:30
Abhinav e984eb9be9 improve variable names and fix compression loop condition 2021-10-26 12:11:00 +05:30
Abhinav 192229e1e1 reduce max-compression quality to 50% 2021-10-26 11:36:58 +05:30
Abhinav dac5ea727a updated min and max compression quality and MAX_THUMBNAIL_SIZE 2021-10-25 20:10:53 +05:30
abhinav-grd 47914f5281 reduce quality linearly 2021-10-19 15:46:15 +05:30
abhinav-grd 175e323c47 log thumbnail size greater than max limit 2021-10-19 14:02:11 +05:30
abhinav-grd 78a69a6d33 if compression more than min compression diff keep on compressing 2021-10-19 13:58:10 +05:30
abhinav-grd 11eb962f79 compress thumbnail generated from ffmpeg using canvas method 2021-10-08 13:46:11 +05:30
abhinav-grd 4dec65a891 try to get exif only for image files 2021-09-16 07:27:11 +05:30
abhinav-grd e17eb7aca4 exif data can be null so dont destructure function response 2021-09-16 07:26:48 +05:30
Abhinav-grd 74471d9bfb
Merge pull request #143 from ente-io/update-exif-package
Update exif package
2021-09-13 12:05:36 +05:30
abhinav-grd e34a8e8b92 remove processQueue recursive call
as we are processing the queue in a loop left when making the change
2021-09-12 16:01:08 +05:30
abhinav-grd b3a9c8ee94 improves queueProcessor 2021-09-12 15:56:16 +05:30
abhinav-grd d68cebb7a1 if unix time less than zero ignore it 2021-09-12 12:41:15 +05:30
abhinav-grd c4938d04e3 updates code to fit with new getExif function 2021-09-12 12:17:17 +05:30
abhinav-grd 5cf48597df updates exif parsing to use new library features 2021-09-12 12:16:30 +05:30
abhinav-grd f9c46cdcb6 dont log exifdata 2021-09-10 22:12:15 +05:30
abhinav-grd 5e6adb4634 updated getUNIXTime logic 2021-09-10 12:21:18 +05:30
abhinav-grd ea73bc43f8 use exifr package
exif-js fails for heic EXIF parsing
2021-09-10 12:18:34 +05:30
Abhinav-grd 07d44846be replaced heic2any pacakeg with heic-convert and use custom worker 2021-09-07 14:54:08 +05:30
Abhinav-grd 1ff2fa3462 update error message 2021-09-02 13:28:35 +05:30
Abhinav-grd 7dfd6658ea added compulary context message to all logError calls 2021-09-01 18:04:18 +05:30
Abhinav-grd 61df0d6ea8 move FORMAT_MISSED_BY_FILE_TYPE_LIB to file service build fix 2021-08-30 10:48:28 +05:30
Abhinav-grd 28a5ccee4a format missed by type detection 2021-08-30 10:45:16 +05:30
Abhinav-grd c596338463 adds type detection failed logs 2021-08-30 10:11:50 +05:30
Abhinav-grd d1d3623880 fix file extension logging for unsupported formats 2021-08-30 06:54:57 +05:30
Abhinav-grd 3acd3ba87f skip too large files 2021-08-29 14:45:12 +05:30
Abhinav-grd 2a645dc16e remove console log 2021-08-29 14:28:37 +05:30
Abhinav-grd 28ccf3d11c added file too large section 2021-08-29 12:56:24 +05:30
Abhinav-grd a8c93da704 updated error handler 2021-08-29 12:44:33 +05:30
Abhinav-grd e6049aef1b function check for breaking error changes 2021-08-29 11:48:53 +05:30
Abhinav-grd ce8bc629a1 renamed parseError and handleError to upload specfic names 2021-08-29 11:48:03 +05:30
Abhinav-grd 8788a7cd48 final touch up 2021-08-28 19:29:00 +05:30
Abhinav-grd 0a2a9b1f1d added error handling 2021-08-28 11:21:05 +05:30
Abhinav-grd 4317964ca4 remove logs 2021-08-28 11:21:05 +05:30
Abhinav-grd a09c5e7a36 remove un used import 2021-08-28 11:21:05 +05:30
Abhinav-grd c0e665cd1d add logs 2021-08-28 11:21:05 +05:30
Abhinav-grd 9ee35f725e refactored code 2021-08-28 11:21:05 +05:30
Abhinav-grd 5b8ae127b5 just load fallback package 2021-08-28 11:21:05 +05:30
Abhinav-grd 53af52de61 added fallback core package 2021-08-28 11:21:05 +05:30
Abhinav-grd 26d9d500b4 break on thumbnail error 2021-08-28 11:21:04 +05:30