WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to add jpg support to XFI ?  (Read 2212 times)

Offline beta-tester

  • Newbie
  • *
  • Posts: 31
how to add jpg support to XFI ?
« on: April 01, 2020, 09:19:20 AM »
hello,

i have TC11.0 x86 installed on an USB-stick and i installed xfe.tcz as file manager.
this will install xfi (X File Image viewer) to view pictures.
but when i try to open a jpg picture it opens xfi but the image isn't shown...
only a tiny box with the letters JPEG inside is rendered.

PNG pictures are rendered well.

the strange thing is, that *.jpg and *.jpeg is in the list of the selectable file filters in xfi, when i open the file open dialog of xfi.
maybe there are more picture file types not able to render, i only tested jpg and png yet...

how can i install needed libraries to add the support for jpg (and maybe the other missing types)?

EDIT: *.ico, *.bmp, *.gif are working.
*.tif / *tiff are not working.
« Last Edit: April 01, 2020, 09:23:02 AM by beta-tester »

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1509
Re: how to add jpg support to XFI ?
« Reply #1 on: April 01, 2020, 09:39:15 AM »
xfi works fine with jpeg for me.
Please post the output of this command:
Code: [Select]
$ tce-status -i | grep jpeg

Offline beta-tester

  • Newbie
  • *
  • Posts: 31
Re: how to add jpg support to XFI ?
« Reply #2 on: April 01, 2020, 09:59:02 AM »
the output is:
libjpeg-turbo
openjpeg2

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1509
Re: how to add jpg support to XFI ?
« Reply #3 on: April 01, 2020, 10:19:41 AM »
Hmmm. I have this:
Code: [Select]
$ tce-status -i | grep jpeg
jpegexiforient
libjpeg-turbo
libjpeg-turbo-bin
openjpeg
I know that jpegexiforient is unrelated to your issue. Try loading  libjpeg-turbo-bin.tcz  and  openjpeg.tcz  and see if it helps.

P.S. What version of TCL are you using? I'm on Pure64 11.1 and I don't see openjpeg2 in the repository.


Offline beta-tester

  • Newbie
  • *
  • Posts: 31
Re: how to add jpg support to XFI ?
« Reply #4 on: April 01, 2020, 06:12:09 PM »
i downloaded and installed the following version to my usb-stick:
http://tinycorelinux.net/11.x/x86/release/TinyCore-current.iso
and then i installed xfe.tcz that installed xfi automatically.

maybe only the x86 version of xfi is affected.

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1509
Re: how to add jpg support to XFI ?
« Reply #5 on: April 01, 2020, 11:17:37 PM »
I had made a mistake when I compiled the  fox.tcz  extension. The mistake affects jpeg support. I corrected the 64-bit extension but had forgotten to fix the 32-bit version.

juanito, I submitted corrected  fox.tcz  and  fox-dev.tcz  extensions for TCL 11.x 32-bit.

beta-tester, when the corrected  fox.tcz  becomes available, please upgrade it. It will solve the  xfi  problem and will also allow  xfe  to show jpeg thumbnails (Panel -> Thumbnails).
« Last Edit: April 01, 2020, 11:19:22 PM by GNUser »

Offline GNUser

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 1509
Re: how to add jpg support to XFI ?
« Reply #6 on: April 02, 2020, 08:21:21 AM »
beta-tester, juanito posted the corrected fox.tcz extension. To get it, just run
Code: [Select]
$ tce-updatethen reboot.

I revised the .dep file so, to make sure you have all the dependencies, please run this command after you reboot:
Code: [Select]
$ tce-audit builddb; tce-audit fetchmissing; tce-load -i xfeThat will fix your problem. Cheers!
« Last Edit: April 02, 2020, 08:23:43 AM by GNUser »