1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-11-24 07:30:19 +01:00
Commit Graph

179 Commits

Author SHA1 Message Date
Nayam Amarshe
a6f344f3b8 New models selection menu 2024-10-06 12:45:44 +05:30
NayamAmarshe
95843ded88
Refactor Renderer Code (#987)
* Initial refactor

* Remove unused imports

* Update code

* Refactor and Update Code

- Change file names to kebab-caase
- Add new useTranslation Hook
- Change useLog hook name to useLogger
- Update translation hook to provide autocomplete

* Update import and component name

* Rename files and components

* Update locales

* Update electron commands

* Update var

* Change Lowercase

* Replace filter with map

* Add props

* Update flag check

* Add validate paths

* Update formats

* Update import

* Update function

* Update function and translation

* Update handlePaste
2024-10-04 14:45:54 +05:30
Felipe Machado
acf06532b8
Support JFIF files which are basically JPGs anyways (#983)
Note that this outputs JPG, but I think that should be fine. It's the better format anyways.
2024-09-21 12:37:58 -04:00
Nayam Amarshe
de34063565 Remove circle bar 2024-08-31 16:35:53 +05:30
Josh Rufer
4fe8c437d7
Warn if file output path exceeds Windows's maximum length (#891)
Added check for exceeding MAX_PATH limit in windows. Should be relatively easy to add an actual fix from here.

Co-authored by @coderabbit

---------

Co-authored-by: Aaron Liu <aaronliu0130@gmail.com>
2024-07-08 22:44:49 -05:00
Nayam Amarshe
4b3c0e209f Fix [DOUBLE UPSCAYL] Wrong scale size being used #841 2024-05-29 23:18:13 +05:30
NayamAmarshe
b2a3e54dfc
[WIP] Initial notification icon support (#710)
As icon locations are platform dependent, iterate through paths & add to
notification util.
Confirmed working well for linux(deb/rpm), AppImage & Windows platforms.

Todo:
- Confirm mac & flatpak icon paths are correct (i'm unable to test)
@aaronliu0130 appreciate if you're able to test. 

**Before and after shots:**

Linux notifications:

![upscayl-notif-linux](https://github.com/upscayl/upscayl/assets/127086564/4f98257f-0a1c-4ce1-a346-914b1e46fd0c)
(bottom before, top after)

Windows:

![upscayl-win-notif](https://github.com/upscayl/upscayl/assets/127086564/1aa5ffb6-c907-4493-97de-ee1b99a627e9)


Win.
2024-05-15 15:49:33 +05:30
NayamAmarshe
a455569a48
Update electron/utils/show-notification.ts 2024-05-15 15:49:26 +05:30
Nayam Amarshe
dbaa1dfe7b Add documentation 2024-04-25 01:32:22 +05:30
Nayam Amarshe
1b947d82c1 Removed redundant variables 2024-04-25 01:22:17 +05:30
Nayam Amarshe
3f76011ba5 Add tilesize and add compression in arguments 2024-04-25 01:10:48 +05:30
Nayam Amarshe
5feabea516 Refactor code and remove config vars to fix ASCII path decoding 2024-04-25 00:59:51 +05:30
Nayam Amarshe
618b46f553 Fix batch upscayl scale skip and refactor error detection 2024-04-24 19:14:51 +05:30
Nayam Amarshe
5cc9bd0df5 Add error resume for batch upscayl, and refactor code 2024-04-24 18:46:35 +05:30
Nayam Amarshe
662a09f04f Fix ts error 2024-04-24 16:30:16 +05:30
Nayam Amarshe
6f8df14ed9 Fix #787 2024-04-24 16:04:32 +05:30
Nayam Amarshe
aa84f7de1d Fix name logic 2024-04-21 23:10:54 +05:30
Nayam Amarshe
938bc0d83a Fix name logic 2024-04-21 23:09:13 +05:30
Nayam Amarshe
d095ded3ff Fix resolution logic 2024-04-21 23:03:02 +05:30
Nayam Amarshe
8b2ca0238c Fix scale arguments and tooltip overflow 2024-04-21 22:44:39 +05:30
Nayam Amarshe
c2a10ca0d4 Add toast and add shadcn theme vars 2024-04-21 19:34:59 +05:30
Nayam Amarshe
ecbb48acdc Add back custom width 2024-04-20 21:14:42 +05:30
Nayam Amarshe
c6822147d9 Add shadcn and sidebar options 2024-04-17 21:48:45 +05:30
Nayam Amarshe
0fe8bf8ba4 Fix scale and config vars 2024-04-09 23:41:24 +05:30
Nayam Amarshe
b846c76afe Remove sharp 2024-04-09 00:17:08 +05:30
Nayam Amarshe
1755b26c4a Initial Fix 2024-02-14 12:02:52 +05:30
Nayam Amarshe
df9ff7de27 Fix PNG to JPG convert issue 2024-02-14 11:30:39 +05:30
MrPenguin07
0681854794
Initial notification icon support
As icon locations are platform dependent, iterate through paths & add to notifications
2024-02-12 12:38:31 +00:00
Nayam Amarshe
801755ca9f Fix batch mode JPG Alpha, Rename Fast model & Fix tooltip z-index 2024-02-10 16:55:07 +05:30
Nayam Amarshe
fed423f73f Fix #646 2024-02-09 18:28:19 +05:30
Nayam Amarshe
54fc57f633 Fix #646 2024-02-09 18:26:04 +05:30
Nayam Amarshe
bece033f4d Add custom width 2024-02-08 20:27:35 +05:30
Nayam Amarshe
649f2d239d Fix lens and update errors. 2024-02-07 06:53:19 +05:30
Nayam Amarshe
00099928fb Fix #653 2024-01-23 15:00:08 +05:30
Nayam Amarshe
602cb72fdb Add sidebar & Fix #644 2024-01-21 12:18:22 +05:30
Nayam Amarshe
3c19a6c5a9 Remove unused imports 2024-01-16 14:58:58 +05:30
Nayam Amarshe
f144421999 Fix localstorage bug 2024-01-16 14:52:31 +05:30
Nayam Amarshe
12c62f9b54 Delete unnecessary files in batch-upscayl command 2024-01-16 14:17:09 +05:30
Nayam Amarshe
c2d64ebf57 Update command filtering in getBatchArguments and spawnUpscayl 2024-01-16 13:49:27 +05:30
Nayam Amarshe
3a459b835c Add turn off notifications feature 2024-01-16 13:03:43 +05:30
Nayam Amarshe
d6842930a6 Fix batch upscayl format bug and custom models path bug 2024-01-16 12:00:07 +05:30
Nayam Amarshe
10c880e32c Fix image-upscayl command and add zip target to package.json 2024-01-15 20:36:13 +05:30
Nayam Amarshe
f7803f7c9e Add support for alpha channel in batch upscayl 2024-01-15 18:39:46 +05:30
Nayam Amarshe
3ed4638aa5 Refactor file path and remove unnecessary code 2024-01-15 18:20:36 +05:30
Nayam Amarshe
a80f85a069 Refactor image saving format in batch-upscayl.ts and get-arguments.ts 2024-01-15 18:16:21 +05:30
Nayam Amarshe
6b55f219fb Refactor image-upscayl.ts and convert-and-scale.ts 2024-01-15 18:08:47 +05:30
Nayam Amarshe
67738d5b6c Add dialog message box for update download event 2024-01-15 17:48:16 +05:30
Nayam Amarshe
b525abc7dd Remove unused import and variable in batch-upscayl.ts 2024-01-15 17:01:40 +05:30
Nayam Amarshe
57810f4d77 Add showNotification function and update output folder path 2024-01-15 17:00:59 +05:30
Nayam Amarshe
fb7728077e Add removeFileExtension utility function 2024-01-15 15:34:11 +05:30