kodadot / kodadot/subwork

Compress pictures // optimize images

Open
#34 9 comments 0 reactions 0 assignees View on GitHub
Add to Website p1
Dominant language
No language data
Stars
9
Forks
5
PR merge metrics
No merged PRs in 30d

Description

We need compress to smaller pictures 😅 or is there some vitepress plugin to do this?

```
yangwao@WaifuGen docs % cd pics
yangwao@WaifuGen pics % ls -lah
total 55240
drwxr-xr-x@ 26 yangwao staff 832B May 16 08:59 .
drwxr-xr-x@ 27 yangwao staff 864B May 16 08:59 ..
drwxr-xr-x@ 7 yangwao staff 224B May 14 13:45 archive
-rw-r--r--@ 1 yangwao staff 824K May 16 08:56 athletic1.png
-rw-r--r--@ 1 yangwao staff 643K May 16 08:55 bled1.png
-rw-r--r--@ 1 yangwao staff 911K May 16 08:55 bled2.png
-rw-r--r--@ 1 yangwao staff 894K May 16 08:55 bled3.png
-rw-r--r--@ 1 yangwao staff 2.1M May 15 12:24 bled_from_straza.png
-rw-r--r--@ 1 yangwao staff 990K May 16 08:55 bohinj1.png
-rw-r--r--@ 1 yangwao staff 920K May 16 08:54 bohinj2.png
-rw-r--r--@ 1 yangwao staff 1.0M May 16 08:54 bohinj3.png
-rw-r--r--@ 1 yangwao staff 389K May 14 13:45 chargingmap.png
-rw-r--r--@ 1 yangwao staff 1.1M May 16 08:54 coffee.png
-rw-r--r--@ 1 yangwao staff 894K May 16 08:54 hacker_space1.png
-rw-r--r--@ 1 yangwao staff 689K May 16 08:53 header.png
-rw-r--r--@ 1 yangwao staff 909K May 16 08:53 kranjska1.png
-rw-r--r--@ 1 yangwao staff 1.6M May 16 08:53 kranjska2.png
-rw-r--r--@ 1 yangwao staff 937K May 16 08:52 location.png
-rw-r--r--@ 1 yangwao staff 943K May 16 08:52 nice_place.png
-rw-r--r--@ 1 yangwao staff 2.1M May 15 18:17 subwork_family.png
-rw-r--r--@ 1 yangwao staff 1.7M May 15 18:09 subwork_familytable.png
-rw-r--r--@ 1 yangwao staff 1.1M May 15 18:20 subwork_geisha.png
-rw-r--r--@ 1 yangwao staff 1.6M May 15 18:18 subwork_grinder_ondra.png
-rw-r--r--@ 1 yangwao staff 1.8M May 15 18:13 subwork_meeting.png
-rw-r--r--@ 1 yangwao staff 1.2M May 15 18:15 subwork_meeting_collab.png
-rw-r--r--@ 1 yangwao staff 2.1M May 15 18:23 subwork_meetup.png
```

_Originally posted by @yangwao in https://github.com/kodadot/subwork/issues/33#issuecomment-1549124895_

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the images in the pics directory and the project's VitePress setup to determine how these assets are served. Compare the listed PNG sizes and define an acceptable optimization approach; done means the pictures are smaller without unacceptable visual loss and the documentation still displays them correctly.

Written by the indexing model from the issue text.

Assessment

Domain
performance, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.