Installing BPG Plugin on Linux Mint 17

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

Moderators: XnTriq, xnview

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

Installing BPG Plugin on Linux Mint 17

Post by vershue » Sun Feb 22, 2015 10:50 pm

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: 5424
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Installing BPG Plugin on Linux Mint 17

Post by XnTriq » Mon Feb 23, 2015 1:30 am

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 » Mon Feb 23, 2015 2:15 am

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: 5424
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Installing BPG Plugin on Linux Mint 17

Post by XnTriq » Mon Feb 23, 2015 3:00 am

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 » Mon Feb 23, 2015 12:09 pm

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: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Installing BPG Plugin on Linux Mint 17

Post by oops66 » Mon Feb 23, 2015 9:50 pm

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 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

User avatar
xnview
Author of XnView
Posts: 31358
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Installing BPG Plugin on Linux Mint 17

Post by xnview » Wed Feb 25, 2015 9:33 am

the bpg plugin is not yet for XnViewMP
Pierre.

Post Reply