Commit Graph

10 Commits

Author SHA1 Message Date
ck 8900594c9f chore: dci-icon-theme tool tweak
webp icon size should not be  fixed at 256x256
2024-07-01 15:24:57 +08:00
ck aeaccd30ce feat: dci-icon-theme support multiple icon size
- add error log(callback)
- support multiple size
- update version to 0.0.5

e.g.
```
ls /usr/share/icons/vintage/apps
128  16  24  32  48  64  96

dci-icon-theme /usr/share/icons/vintage/apps -o /tmp/dcis/vintage -O 3=98

dci --tree /tmp/vintage/onboard.dci
/
├── 16
│   ├── normal.dark
│   │   └── 3
│   │       └── 1.webp -> /16/normal.light/3/1.webp
│   └── normal.light
│       └── 3
│           └── 1.webp
└── 24
    ├── normal.dark
    │   └── 3
    │       └── 1.webp -> /24/normal.light/3/1.webp
    └── normal.light
        └── 3
            └── 1.webp
...

```
2024-04-28 13:22:44 +08:00
ck 6549a67eb3 chore: update readme and help message
update readme and usage

Log: none
Change-Id: Ibf40852aaa8aca2d21f51fdc37657fc79fd33966
2023-03-09 11:30:05 +08:00
Felix Yan 8a5e67652c chore: correct a typo in dci-icon-theme/main.cpp
Correct a typo in dci-icon-theme/main.cpp
2023-02-22 15:07:46 +08:00
ck e244d5d3fb chore: quality option must specify
1. must specify quality option
2. scaled counts depends on quality params
3. help message tweak
4. update version to 0.0.4

Log: scale quality
Change-Id: Ideecb18175a7d58cb2e94898246df01fe19147b4
2023-02-08 17:38:12 +08:00
ck c1286c6502 chore: dci-icon-theme tweak
1. update version to 0.0.3
2. fix initQuality not init if --quality not set

Log: none
Change-Id: I66f2d494f9e34194ffed17564334b3e29109737a
2023-02-08 09:25:37 +08:00
ck 5de5c59984 feat: add quality option
quility of dci icon scaled image
the higher the quality, the larger the dci icon file size

Log: quality option
Change-Id: Ifdfa51091bb560ad76881366a9c5168daf6cc9ab
2023-02-06 16:56:42 +08:00
ck 7d070dd912 feat: add icon finder for dci-icon-theme
dci-icon-theme --find <icon name> or
dci-icon-theme --find <icon name> -t <icon theme name>

output:
"deb" [ "xxx-icon" ]: "/usr/share/dsg/icons/xxx-icon/deb.dci"

Log: none
Change-Id: Ide152e0ba1cba0fb0252ead7304c255a2c0695d4
2023-02-06 13:33:26 +08:00
ck 2e8f35a33e fix: fix-dark-theme not work on link file
--fix-dark-theme only copy linktarget file to ouputput dir.
record link-target map and makelink after fix job
update version to 0.0.2

Log: none
Influence: none
Change-Id: I9100c98107551eb002656e34937a8524075743bc
2022-12-28 17:38:19 +08:00
ck 2eae43e7be feat: add dci-icon-theme tool
add dci-icon-theme tool to generate dci icon theme

Log: none
Influence: dci icon theme
Change-Id: Iec3b6ab5adef6ca2510e2d22bbd78ae7395c7e51
2022-12-27 13:04:05 +08:00