FLIF support?

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

heimaki
Posts: 43
Joined: Thu Dec 27, 2012 8:04 pm

FLIF support?

Post by heimaki »

hello,

how about FLIF support? --> http://flif.info

and thanks for great software. :D
User avatar
xnview
Author of XnView
Posts: 33840
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: FLIF support?

Post by xnview »

ok, i'll check
Pierre.
heimaki
Posts: 43
Joined: Thu Dec 27, 2012 8:04 pm

Re: FLIF support?

Post by heimaki »

thanks for reading.
heimaki
Posts: 43
Joined: Thu Dec 27, 2012 8:04 pm

Re: FLIF support?

Post by heimaki »


XnView v2.36 (LIBFORMAT v6.88) 04/29/2016:
* FLIF format added
thanks, it does work nicely. :D


/edit: what settings are used for encoding? it seems, none, or better, the default?
User avatar
CreativeWorld
Posts: 127
Joined: Fri Dec 30, 2011 7:08 pm

Re: FLIF support?

Post by CreativeWorld »

With XnViewMP it isn't working. Can you check it?
Marsu42
Posts: 92
Joined: Tue Sep 30, 2014 6:55 am

Re: FLIF support?

Post by Marsu42 »

heimaki wrote:

XnView v2.36 (LIBFORMAT v6.88) 04/29/2016:
* FLIF format added
thanks, it does work nicely. :D
It doesn't for me using the latest and greatest "full" setup, obviously FLIF isn't included: http://newsgroup.xnview.com/viewtopic.p ... if#p131991

Where/How do I get the famous XnView with the announced libformat that does support FLIF? Thanks for any help, this is really very confusing to a simple user like me :-o

Edit: The other possibility that XnView Classic refuses to cooperate with my flif files is that I've converted them with the latest 0.2 version (https://github.com/FLIF-hub/FLIF/releases), but maybe that's incompatible with the lib inside XnView? Doh.
User avatar
XnTriq
Moderator & Librarian
Posts: 5616
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: FLIF support?

Post by XnTriq »

It seems that XnView relies on libflif.dll for reading and writing the format. For some reason, this file is not included in the downloads for XnView Classic, but it comes with XnView MP. I was hoping that copying the DLL to the Plugins folder of v2.36 would allow me to open business_man_clipped.flif, but that didn't work.
Then Google told me about the following thread:
load (Encode's Forum » [url=http://www.encode.ru/threads/2321?p=47861#post47861]FLIF - Free Lossless Image Format[/url]) wrote:good news, got it working.

there were warnings when i compiled the x86 without SSE, but it still worked in xnview. however, here's a bunch of compiles (newest code from git)

- x64
- x86 SSE
- x86 SSE2
- x86 SSE3

just throw the libflif.dll into the xnview plugin folder, xnview can now read AND save FLIF files.

wow, although only one test file:

Code: Select all

test.webp   4'356'404
test.png    5'639'434
test.flif   2'874'966
User avatar
xnview
Author of XnView
Posts: 33840
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: FLIF support?

Post by xnview »

Marsu42 wrote: Edit: The other possibility that XnView Classic refuses to cooperate with my flif files is that I've converted them with the latest 0.2 version (https://github.com/FLIF-hub/FLIF/releases), but maybe that's incompatible with the lib inside XnView? Doh.
it seems that flif format has changed, here is the lastest flif dll
Pierre.
User avatar
CreativeWorld
Posts: 127
Joined: Fri Dec 30, 2011 7:08 pm

Re: FLIF support?

Post by CreativeWorld »

The dll doesn't work.
I'm using x64 version of XNView MP.
I have downloaded the x64 dll also and it doesn't work.
Anything else I need to do?
Marsu42
Posts: 92
Joined: Tue Sep 30, 2014 6:55 am

Re: FLIF support?

Post by Marsu42 »

CreativeWorld wrote:Anything else I need to do?
Sure, just ask good ol' Marsu :-) ... http://newsgroup.xnview.com/viewtopic.p ... 88#p134792
User avatar
CreativeWorld
Posts: 127
Joined: Fri Dec 30, 2011 7:08 pm

Re: FLIF support?

Post by CreativeWorld »

Thank. It shows some pictures but for all pictures I convert with the current
UGUI_FLIF_0.3.5-win.zip, I get error messages. Again a new file format?
heimaki
Posts: 43
Joined: Thu Dec 27, 2012 8:04 pm

Re: FLIF support?

Post by heimaki »

FLIF in UGUI_FLIF_0.3.5 is completely outdated.

personally, as a total commander user, i would just place a button in the toolbar and use something similar like
-e %P%N %T%O.flif
as parameter. that way you can always use the latest flif.exe
this should work in other file managers too, with some modifications maybe.

or why not use nconvert? it can handle a lot more file formats as input...
something like
nconvert -out flif *.jpg
will convert all .jpg's in the current directory into flif. or you can again use nconvert in total commander such as
-out flif -o %T%O %P%N

nconvert can even do a lot more... check the help.
User avatar
CreativeWorld
Posts: 127
Joined: Fri Dec 30, 2011 7:08 pm

Re: FLIF support?

Post by CreativeWorld »

Good to know. It's the newest version available on the FLIF website.
So I expected it to be the best version.
heimaki
Posts: 43
Joined: Thu Dec 27, 2012 8:04 pm

Re: FLIF support?

Post by heimaki »

flif seems to be completely broken in xnview 2.37

it saves only part of the file. these still work:

http://newsgroup.xnview.com/viewtopic.p ... 88#p134792

see EDIT 3: http://encode.ru/threads/2321-FLIF-Free ... #post50489
User avatar
xnview
Author of XnView
Posts: 33840
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: FLIF support?

Post by xnview »

heimaki wrote:flif seems to be completely broken in xnview 2.37

it saves only part of the file. these still work:

http://newsgroup.xnview.com/viewtopic.p ... 88#p134792

see EDIT 3: http://encode.ru/threads/2321-FLIF-Free ... #post50489
Right, the plugin is not the good one, please use this one
Pierre.
Post Reply