Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mechanical-parts
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
mechanical-parts
Commits
7d6cbca1
Commit
7d6cbca1
authored
Jun 11, 2015
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resize images for wiki
parent
67225732
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
archive_stp_dxf_pdf_any_year.sh
archive_stp_dxf_pdf_any_year.sh
+2
-1
No files found.
archive_stp_dxf_pdf_any_year.sh
View file @
7d6cbca1
...
...
@@ -101,7 +101,8 @@ else
filename
=
$(
basename
$f
)
name
=
${
filename
%.*
}
crop
=
`
convert
-trim
-format
%[fx:w+2
*
$b
]
x%[fx:h+2
*
$b
]
+%[fx:page.X-
$b
]
+%[fx:page.Y-
$b
]
$f
info:
`
convert
$f
-crop
$crop
"
$name
.jpeg"
;
convert
$f
-crop
$crop
"
$name
.jpeg"
;
convert
"
$name
.jpeg"
-resize
250
$name
"_resized.jpeg"
fi
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment