Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-26 00:22:04 +01:00
Does not leverage previous compilations?

Note that previously the PDF was about 81.6 MB and now it is about 84.9 MB. So the PDF size does not seem to matter much.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-26 00:20:39 +01:00
Does not leverage previous compilations?

Now PLMLaTeX compile in 8.09s (that is 14x faster than previously on my laptop and 31x faster than previously on PLMLaTeX).

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-26 00:15:33 +01:00
Does not leverage previous compilations?

-alpha remove works fine to have white instead of transparency (by default black), source: the Stack Overflow answer 8437562.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-26 00:06:03 +01:00
Does not leverage previous compilations?

Maybe could use an intermediary PNG setting transparency to white.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-26 00:05:37 +01:00
Does not leverage previous compilations?

-background white does not help.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-26 00:05:00 +01:00
Does not leverage previous compilations?

DuckDuckGo search Linux convert png to jpg with transparent pixels to white.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-26 00:04:30 +01:00
Does not leverage previous compilations?

Just setting transparency with white would meet my needs.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-26 00:02:51 +01:00
Does not leverage previous compilations?

DuckDuckGo search JPG compression with transparency.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-26 00:01:36 +01:00
Does not leverage previous compilations?

Maybe JPG can be written as is in the PDF contrarily to PNG.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-25 23:57:20 +01:00
Does not leverage previous compilations?

0.68s for quality 25.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-25 23:56:55 +01:00
Does not leverage previous compilations?
Bash script:
for file in actual_figures/*.{png,JPG}
do
    fileName=`basename $file`
    convert -quality 1 $file $fileName.jpg
    mv $fileName{.jpg,}
Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-25 23:50:34 +01:00
Does not leverage previous compilations?

Can append .jpg to ease the JPG compression.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-25 23:21:55 +01:00
Does not leverage previous compilations?

For testing can try generating PNG as .jpg.

Unclear if want to have JPG compression or rescale without rescaling in the article.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-25 23:18:59 +01:00
Does not leverage previous compilations?

Being able to specify quality as percentage as for JPG convert would be nice, otherwise have to manually compute and enforce such initial file size portion.

DuckDuckGo search *Linux convert…

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-25 23:14:32 +01:00
Does not leverage previous compilations?
Bash script:
for file in actual_figures/*.{png,JPG}
do
    #echo $file
    #echo `basename $file`
    convert -size "`file $file 
Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-25 23:09:31 +01:00
Does not leverage previous compilations?

Maybe the slowness is due to .svg.

Benjamin_Loison commented on issue Benjamin_Loison/overleaf#38 2025-03-25 23:07:37 +01:00
Does not leverage previous compilations?
file *.png *.JPG