Bug 707320

Summary: PageList Not working
Product: Ghostscript Reporter: Aouatef <awatef.djeghri5>
Component: PDF InterpreterAssignee: Default assignee <ghostpdl-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 10.02.0   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---
Attachments: Error Log

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 ***