If so, there have been a number of times been compatibility issues with newly released GS versions, but I don't recall anyone has reported one recently.
As far as I know, with default program setting PDF files should open in the viewer, although browser thumbnails might have to be enabled. It will also usually be necessary to increase the Ghostscript rasterisation DPI setting in order to obtain a good quality image, in the viewer File > Format settings, at least in the Linux installation.
Maybe there should be a config option for where to find ghostscript? Or look also in /opt/homebrew/bin/gs since I assume this is where 90% of people will have it on MacOS.
Is there a way to make PDFs on XnViewMP for Mac Sonoma work without launching XnViewMP/XnConvert from the terminal like this?
I'm in the exact same situation where I can launch either Xn app from terminal with "open /applications/xnviewmp.app" and work with PDFs but otherwise I get no previews of PDFs and get errors like 'not an image' or 'File Can't be Loaded!'.
All software is fully updated on an M1 Mac Studio. XnView and XnConvert are installed from the website (not app store), I've tried installing Ghostscript via both HomeBrew and MacPorts to no avail, I've tried adding lines to ...zsh or whatever that is to make sure HomeBrew is in my $PATH, and restarting, etc.
I'm at a loss after banging my head against this for a couple of hours now, and I bet it's as simple as running a command or two... I just don't know what command to run.
I'm afraid I may have made a mess of PATH in trying to get this to work, but I'm still in the position of PDFs working in Xn apps when launched from terminal, and not working otherwise.
Grateful for any guidance you can provide, and grateful for XnView and XnConvert, without which I could not have accomplished some important projects.
hey. still having this problem. xnview on mac os opens pdf only when launched from terminal. i think that need to add gs to path systemwide, but dont know how to do it. may be the configuration path of ghostscrpit can help?