Skip to content
Snippets Groups Projects
Commit 5e4a4e07 authored by Tyler Lemburg's avatar Tyler Lemburg
Browse files

Increase JPG/PNG size to 800px

200px height was too small and when you expand it gets blurry.

Solves #5
parent afa9fc6a
No related branches found
No related tags found
1 merge request!2Increase JPG/PNG size to 800px
Pipeline #
...@@ -231,7 +231,7 @@ class Lockup extends \ActiveRecord\Model { ...@@ -231,7 +231,7 @@ class Lockup extends \ActiveRecord\Model {
$return_var = NULL; $return_var = NULL;
exec('inkscape -h200 --export-png=' . $new_png . ' ' . $starting_svg . ' 2>&1', $backend_output, $return_var); exec('inkscape -h800 --export-png=' . $new_png . ' ' . $starting_svg . ' 2>&1', $backend_output, $return_var);
if ($return_var == 0) { if ($return_var == 0) {
# attempt to write this to the DB # attempt to write this to the DB
$file = fopen($new_png, 'r'); $file = fopen($new_png, 'r');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment