mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Removed .eps from page-wise thumbnail creation
SVN revision: 2022
This commit is contained in:
parent
2c365c9f1c
commit
33179aa33a
@ -312,6 +312,10 @@
|
||||
RelativePath="..\doc\index.html"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\doc\index_d.html"
|
||||
>
|
||||
</File>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
|
||||
@ -22071,12 +22071,12 @@ int create_thumbnail(LOGBOOK * lbs, char *file_name)
|
||||
#ifdef OS_UNIX
|
||||
strsubst(str2, sizeof(str2), " ", "\\ ");
|
||||
strsubst(str, sizeof(str), " ", "\\ ");
|
||||
if (chkext(file_name, ".pdf") || chkext(file_name, ".ps") | chkext(file_name, ".eps"))
|
||||
if (chkext(file_name, ".pdf") || chkext(file_name, ".ps"))
|
||||
sprintf(cmd, "convert '%s[0-7]' -thumbnail '%s' '%s'", str2, thumb_size, str);
|
||||
else
|
||||
sprintf(cmd, "convert '%s' -thumbnail '%s' '%s'", str2, thumb_size, str);
|
||||
#else
|
||||
if (chkext(file_name, ".pdf") || chkext(file_name, ".ps") | chkext(file_name, ".eps"))
|
||||
if (chkext(file_name, ".pdf") || chkext(file_name, ".ps"))
|
||||
sprintf(cmd, "convert \"%s[0-7]\" -thumbnail \"%s\" \"%s\"", str2, thumb_size, str);
|
||||
else
|
||||
sprintf(cmd, "convert \"%s\" -thumbnail \"%s\" \"%s\"", str2, thumb_size, str);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user