Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
DataCirco Web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leximpact
DataCirco
DataCirco Web
Commits
fa437217
Commit
fa437217
authored
8 months ago
by
benoit-cty
Browse files
Options
Downloads
Patches
Plain Diff
Plus besoin de vignette
parent
3830d643
No related branches found
No related tags found
1 merge request
!35
Finalisation de la mise à jour de DataCirco-Web suite au stage de Marguerite
Pipeline
#18465
passed with warnings
8 months ago
Stage: build
Stage: check-style
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
generate_all_pdf.sh
+3
-3
3 additions, 3 deletions
generate_all_pdf.sh
with
3 additions
and
3 deletions
generate_all_pdf.sh
+
3
−
3
View file @
fa437217
...
...
@@ -41,9 +41,9 @@ do
echo
"wget -O
$c
.pdf
\"
$BASE_URL
/circonscriptions/
$c
\"
"
wget
-O
$c
.pdf
"
$BASE_URL
/circonscriptions/
$c
"
echo
"
$c
Cr_ation de la vignette"
convert
$c
.pdf[0]
-resize
50%
-background
white
-flatten
-type
palette
$c
.pdf.png
>
/dev/null
optipng
$c
.pdf.png
>
/dev/null 2>/dev/null
mv
$c
.pdf.png ../reduced-pdf/
#
convert $c.pdf[0] -resize 50% -background white -flatten -type palette $c.pdf.png > /dev/null
#
optipng $c.pdf.png > /dev/null 2>/dev/null
#
mv $c.pdf.png ../reduced-pdf/
gs
-dBATCH
-dNOPAUSE
-q
-sDEVICE
=
pdfwrite
-dPDFSETTINGS
=
/prepress
-sOutputFile
=
../reduced-pdf/
$c
.pdf
$c
.pdf
rm
$c
.pdf
# remove original pdf to make space
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment