Installing BPG Plugin on Linux Mint 17

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

vershue
Posts: 3
Joined: Sun Feb 22, 2015 10:42 pm

Installing BPG Plugin on Linux Mint 17

Post by vershue »

Is the installation folder for plugins on Linux systems

Code: Select all

/home/username/.xnviewmp/Plugins
?

And is this the package to install BPG plugin on Linux XNView MP here: http://www.xnview.com/download/plugins/bpg.zip

or here: https://github.com/256bai/ifbpg/blob/ma ... -0.9.5.zip

Can someone tell me how to install this plugin? I've been trying and failing.
User avatar
XnTriq
Moderator & Librarian
Posts: 6503
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Installing BPG Plugin on Linux Mint 17

Post by XnTriq »

The following step-by-step instructions should also work for the 32-bit edition of XnViewMP:
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=124608#p124608]BPG Image format[/url]) wrote:
  1. Download susie.zip and (the latest version of) ifBPG-*.zip.
  2. Extract the contents of both archives to the Plugins subdirectory of your XnView installation.
  3. Restart XnView.
32-bit plug-ins are not compatible with 64-bit editions of XnView, XnViewMP or XnConvert.
vershue
Posts: 3
Joined: Sun Feb 22, 2015 10:42 pm

Re: Installing BPG Plugin on Linux Mint 17

Post by vershue »

Thanks!

I'm using 64-bit XNViewMP. Are Xsusie.dll and ifBPG.spi 32-bit?

I just uninstalled the 64-bit version and installed the 32-bit version. I put both Xsusie.dll and ifBPG.spi in the Plugin folder. I restarted XNViewMP and tried to open a bpg file. It says "File can't be loaded."

Here's some screenshots:

Image
Image

It appears that the BPG plugin isn't installed correctly.
User avatar
XnTriq
Moderator & Librarian
Posts: 6503
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Installing BPG Plugin on Linux Mint 17

Post by XnTriq »

vershue wrote:Are Xsusie.dll and ifBPG.spi 32-bit?
Yes, I just checked again: Both are 32-bit DLLs.
vershue wrote:It appears that the BPG plugin isn't installed correctly.
There are currently two BPG plug-ins: One is based on the Susie API (Xsusie.dll + ifBPG.spi), the other uses bpgdec.exe (BPG Image Decoder) of the official binary distribution for Windows.
Unfortunately I can't do tests on Linux myself, and I don't know if or how XnViewMP/XnConvert for Linux interact with Windows DLLs.
We have to wait for the developer of XnView. He can give you a definitive answer.
vershue
Posts: 3
Joined: Sun Feb 22, 2015 10:42 pm

Re: Installing BPG Plugin on Linux Mint 17

Post by vershue »

XnTriq, I was able to install Simple BPG Image Viewer https://github.com/asimba/pybpgviewer/releases, which is okay for the time being. But I'd much prefer to view BPGs in XnViewMP. Hopefully a Linux user can help me with this.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Installing BPG Plugin on Linux Mint 17

Post by oops66 »

vershue wrote:XnTriq, I was able to install Simple BPG Image Viewer https://github.com/asimba/pybpgviewer/releases, which is okay for the time being. But I'd much prefer to view BPGs in XnViewMP. Hopefully a Linux user can help me with this.
Hello,
Not for the bpg plugin for XnViewMP linux, but just to play with bpg format into Linux (decoder and encoder and viewer)...
A workaround:
Install or compile the latest bpg-0.9.5-linux.tar.xz, or in case of trouble to compile the latest bpg-0.9.5-linux.tar.xz, you can download the 0.9.5 or 0.9.4 static linux binary here, to make some .bpg tests:
http://www.mediafire.com/download/uyycc ... d64.tar.xz
http://www.mediafire.com/download/muwfw ... nux.tar.xz

Code: Select all

ex:
./bpgview file.bpg
./bpgdec -i 003.bpg -o out.png
./bpgenc lena30.jpg -o out.bpg
XnViewMP Linux X64 - Debian - X64
User avatar
xnview
Author of XnView
Posts: 45988
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Installing BPG Plugin on Linux Mint 17

Post by xnview »

the bpg plugin is not yet for XnViewMP
Pierre.