Bug 707320 - PageList Not working
Summary: PageList Not working
Status: RESOLVED DUPLICATE of bug 707137
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Interpreter (show other bugs)
Version: 10.02.0
Hardware: PC Linux
: P2 normal
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-12 12:02 UTC by Aouatef
Modified: 2023-11-12 15:30 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
Error Log (50.32 KB, image/png)
2023-11-12 12:02 UTC, Aouatef
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aouatef 2023-11-12 12:02:36 UTC
Created attachment 25011 [details]
Error Log

Hello, 

After upgrading Ghostscript to the version 10.02.1, the option -sPageList does not work anymore and generates an error. Please see error log in the attached screenshot.

I have tested it for:
-sPageList=1
-sPageList=1,2
-sPageList=1-9
-sPageList=even
-sPageList=odd

This is the command I used to test:
`gs -dSAFER -dBATCH -dNOPAUSE -q \
-sDEVICE=jpeg -dJPEGQ=100 -dQFactor=1 -r300 \
-sPageList=1,2 \
-sOutputFile="${file.extractedImagesPath}/Page-%d.jpg" -f "${file.inputFilePath}"`;



When i downgrade to the version 10.01.2, the code works well. 

Please resolve this issue. 

Thanks.

Kind regards
Comment 1 Ken Sharp 2023-11-12 15:30:51 UTC
(In reply to Aouatef from comment #0)
> Created attachment 25011 [details]
> Error Log
> 
> Hello, 
> 
> After upgrading Ghostscript to the version 10.02.1, the option -sPageList
> does not work anymore and generates an error. Please see error log in the
> attached screenshot.

When reporting bugs please always attach a specimen file to reproduce the problem. It is perhaps surprising how many times 'happens with any file' turns out not to.

Please also do not attach pictures of errors, when it is text output please attach it as text.

*** This bug has been marked as a duplicate of bug 707137 ***