I was hoping to use xloadimage to quickly display jpg images from cli but it appears missing from my Slacko 5.6 derivative. Is it something you would expect to be in most Puppies? I tried various spellings and capitalisations but no joy.goingnuts wrote:Resizing seems not the problem (chimera does not resize images) but more likely function "reduce" from xloadimage - reduces colors to max 256.
Chimera-1.70p1 - old browser reborn...
You can find xloadimage-4.1 source here. The above referenced xloadimage is part of chimera-source.
You might want to try my xvl-0.1 from my xwoaf-rebuild-project - binary attached. It supports jpg, png, gif and bmp on various screen depths.
You might want to try my xvl-0.1 from my xwoaf-rebuild-project - binary attached. It supports jpg, png, gif and bmp on various screen depths.
- Attachments
-
- xvl.gz
- fake.gz-extention
- (88.62 KiB) Downloaded 142 times
Thanks goingnuts. I have just tried your xvl but I must be getting the wrong syntax:
I am looking for the lightest possible jpg viewer so I can produce a slideshow of jpg imges that come from my "security webcam" script. I am seeking to display sequential images at a rate that makes them look like a movie in fast forward so the user can review the webcam activity in a short timeframe. thread here
Can you suggest an appropriate syntax for me to view /root/test.jpg with xvl please?
cheers!
Code: Select all
# xvl -v /root/test.jpg
PNG/BMP/JPG/GIF to JPEG image converter
PNG/BMP/JPG/GIF to JPEG image viewer
Usage: img2jpg [-v] [-s] [-i input.png] [-o output.jpg]
-i input.png : input IMAGE file
-o output.jpg : output JPEG file (default input.jpg)
-s stdout : output JPEG file to stdout
-v viewer : view image
Can you suggest an appropriate syntax for me to view /root/test.jpg with xvl please?
cheers!
This should do:. Hope it works for you.
I realise that the name in the help should be changed to xvl.
Code: Select all
./xvl -v -i /root/test.jpg
I realise that the name in the help should be changed to xvl.
Tried compiling xloadimage but got the following errors:
Sorry - I'm not very good at this stuff. Any tips appreciated,
cheers
Code: Select all
loadimage\" rlelib.c
In file included from rlelib.c:15:0:
/usr/lib/gcc/i486-slackware-linux/4.7.1/include/varargs.h:4:2: error: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i486-slackware-linux/4.7.1/include/varargs.h:5:2: error: #error "Revise your code to use <stdarg.h>."
make[1]: *** [rlelib.o] Error 1
make[1]: Leaving directory `/root/Downloads/xloadimage.4.1'
make: *** [default] Error 2
#
cheers
fedora is bound to have patches that should be applied to that before compiling.
Here's the src.rpm which contains all the build-time stuff:
https://kojipkgs.fedoraproject.org//pac ... 27.src.rpm
Yeah, 27 patches in there. 19 of them are *.dpatch files, so they come originally from debian or ubuntu, so you might want to check current debian sources for any other recent patches to it. With both, you may want to avoid some patches which add features you don't want.
Here's the src.rpm which contains all the build-time stuff:
https://kojipkgs.fedoraproject.org//pac ... 27.src.rpm
Yeah, 27 patches in there. 19 of them are *.dpatch files, so they come originally from debian or ubuntu, so you might want to check current debian sources for any other recent patches to it. With both, you may want to avoid some patches which add features you don't want.