Removed .eps from page-wise thumbnail creation

SVN revision: 2022
This commit is contained in:
Stefan Ritt 2008-01-31 10:49:34 +00:00
parent 2c365c9f1c
commit 33179aa33a
2 changed files with 6 additions and 2 deletions

View File

@ -312,6 +312,10 @@
RelativePath="..\doc\index.html"
>
</File>
<File
RelativePath="..\doc\index_d.html"
>
</File>
</Filter>
<Filter
Name="Header Files"

View File

@ -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);