FLIF support?

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

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

FLIF support?

Postby heimaki » Mon Nov 23, 2015 1:05 pm

hello,

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

and thanks for great software. :D

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

Re: FLIF support?

Postby xnview » Mon Nov 23, 2015 1:10 pm

ok, i'll check
Pierre.

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

Re: FLIF support?

Postby heimaki » Tue Nov 24, 2015 7:53 pm

thanks for reading.

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

Re: FLIF support?

Postby heimaki » Mon May 02, 2016 7:59 pm


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: 111
Joined: Fri Dec 30, 2011 7:08 pm

Re: FLIF support?

Postby CreativeWorld » Fri Oct 07, 2016 2:05 pm

With XnViewMP it isn't working. Can you check it?

Marsu42
Posts: 73
Joined: Tue Sep 30, 2014 6:55 am

Re: FLIF support?

Postby Marsu42 » Fri Oct 07, 2016 10:42 pm

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: viewtopic.php?f=35&t=33141&p=131991&hilit=flif#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: 5048
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: FLIF support?

Postby XnTriq » Sat Oct 08, 2016 12:45 am

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 » FLIF - Free Lossless Image Format) 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: 27895
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: FLIF support?

Postby xnview » Sun Oct 09, 2016 2:31 pm

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: 111
Joined: Fri Dec 30, 2011 7:08 pm

Re: FLIF support?

Postby CreativeWorld » Sun Oct 09, 2016 8:59 pm

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: 73
Joined: Tue Sep 30, 2014 6:55 am

Re: FLIF support?

Postby Marsu42 » Sun Oct 09, 2016 11:14 pm

CreativeWorld wrote:Anything else I need to do?


Sure, just ask good ol' Marsu :-) ... viewtopic.php?f=60&t=33888#p134792

User avatar
CreativeWorld
Posts: 111
Joined: Fri Dec 30, 2011 7:08 pm

Re: FLIF support?

Postby CreativeWorld » Mon Oct 10, 2016 8:04 am

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: 41
Joined: Thu Dec 27, 2012 8:04 pm

Re: FLIF support?

Postby heimaki » Mon Oct 10, 2016 11:35 am

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: 111
Joined: Fri Dec 30, 2011 7:08 pm

Re: FLIF support?

Postby CreativeWorld » Mon Oct 10, 2016 8:57 pm

Good to know. It's the newest version available on the FLIF website.
So I expected it to be the best version.

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

Re: FLIF support?

Postby heimaki » Thu Oct 13, 2016 1:17 pm

flif seems to be completely broken in xnview 2.37

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

viewtopic.php?f=60&t=33888#p134792

see EDIT 3: http://encode.ru/threads/2321-FLIF-Free ... #post50489

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

Re: FLIF support?

Postby xnview » Thu Oct 13, 2016 2:03 pm

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

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

viewtopic.php?f=60&t=33888#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.


Return to “Classic - Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest