Open sunohonmy opened 4 years ago
You can use the following bash script to merge image.
ls p*i*.jpg > file_list.txt
grep -Eo '^p[0-9]+' file_list.txt | sort -u > p_list.txt
xargs -a p_list.txt -P 8 -I {} convert {}i1.jpg {}i2.jpg -crop +0-5 {}i3.jpg -append {}.jpg
mkdir i
var=$(pwd)
zip "${var##*/}_raw" p*i*.jpg
mv p*i*.jpg i
mv file_list.txt p_list.txt i
perl-rename 's/p(\d{1})\.jpg/p00\1\.jpg/g' *.jpg
perl-rename 's/p(\d{2})\.jpg/p0\1\.jpg/g' *.jpg
rm -r i
zip "${var##*/}" *.jpg && rm *.jpg
Thank you very much
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Mon, Jul 20, 2020 at 5:04 PM yingziwu notifications@github.com wrote:
- open and log in cmoa.jp https://www.cmoa.jp.
- open MY本棚 https://www.cmoa.jp/mypage/mypage_top/.
- Open the purchased comic.
- In reader view, open the first page and click the upper right button.
- Turn pages manually until you reach the last page.
- Click the upper right button again. Now you wil get a zip compression.
You can use the following bash script to merge image.
ls pi.jpg > file_list.txt
grep -Eo '^p[0-9]+' file_list.txt | sort -u > p_list.txt
xargs -a p_list.txt -P 8 -I {} convert {}i1.jpg {}i2.jpg -crop +0-5 {}i3.jpg -append {}.jpg
mkdir i
var=$(pwd)
zip "${var##/}_raw" pi*.jpg
mv pi.jpg i
mv file_list.txt p_list.txt i
perl-rename 's/p(\d{1}).jpg/p00\1.jpg/g' *.jpg
perl-rename 's/p(\d{2}).jpg/p0\1.jpg/g' *.jpg
rm -r i
zip "${var##/}" .jpg && rm *.jpg
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yingziwu/Greasemonkey/issues/1#issuecomment-661132609, or unsubscribe https://github.com/notifications/unsubscribe-auth/APKNPJA6Y3IPO5DW6UH3H7LR4RTJRANCNFSM4O42LPNQ .
I keep on getting this [image: msedge_T2ECcnQUaa.png]
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Mon, Jul 20, 2020 at 5:23 PM Suno Honmy huberghajackson@gmail.com wrote:
Thank you very much
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#m_8891300331256803401_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Mon, Jul 20, 2020 at 5:04 PM yingziwu notifications@github.com wrote:
- open and log in cmoa.jp https://www.cmoa.jp.
- open MY本棚 https://www.cmoa.jp/mypage/mypage_top/.
- Open the purchased comic.
- In reader view, open the first page and click the upper right button.
- Turn pages manually until you reach the last page.
- Click the upper right button again. Now you wil get a zip compression.
You can use the following bash script to merge image.
ls pi.jpg > file_list.txt
grep -Eo '^p[0-9]+' file_list.txt | sort -u > p_list.txt
xargs -a p_list.txt -P 8 -I {} convert {}i1.jpg {}i2.jpg -crop +0-5 {}i3.jpg -append {}.jpg
mkdir i
var=$(pwd)
zip "${var##/}_raw" pi*.jpg
mv pi.jpg i
mv file_list.txt p_list.txt i
perl-rename 's/p(\d{1}).jpg/p00\1.jpg/g' *.jpg
perl-rename 's/p(\d{2}).jpg/p0\1.jpg/g' *.jpg
rm -r i
zip "${var##/}" .jpg && rm *.jpg
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yingziwu/Greasemonkey/issues/1#issuecomment-661132609, or unsubscribe https://github.com/notifications/unsubscribe-auth/APKNPJA6Y3IPO5DW6UH3H7LR4RTJRANCNFSM4O42LPNQ .
How do you use the cmoa.jp downloader???