Showing posts with label jpeg. Show all posts
Showing posts with label jpeg. Show all posts

Sunday, February 26, 2023

Lepton image compression: saving 22% losslessly from images at 15MB/s

https://dropbox.tech/infrastructure/lepton-image-compression-saving-22-losslessly-from-images-at-15mbs



This open-source project is no longer maintained or supported by Dropbox. Please refer to Lepton’s GitHub page for more information.

~ ~ ~

We are pleased to announce the open source release of Lepton, our new streaming image compression format, under the Apache license.

Lepton achieves a 22% savings reduction for existing JPEG images, by predicting coefficients in JPEG blocks and feeding those predictions as context into an arithmetic coder. Lepton preserves the original file bit-for-bit perfectly. It compresses JPEG files at a rate of 5 megabytes per second and decodes them back to the original bits at 15 megabytes per second, securely, deterministically, and in under 24 megabytes of memory.

We have used Lepton to encode 16 billion images saved to Dropbox, and are rapidly recoding our older images. Lepton has already saved Dropbox multiple petabytes of space.

Community participation and improvement to this new compression algorithm is welcome and encouraged!

Lepton at scale

At Dropbox, the security and durability of your data are our highest priorities. As an added security layer, Lepton runs within seccomp to disable all system calls except read and write of already-open file descriptors. Lepton has gone through a rigorous automated testing process demonstrating determinism on over 4 billion photos and counting. This means that once we verify an image decodes back to its original bits the first time, we can always get back to the original file in future decodes.

All of our compression algorithms, including Lepton, decode every compressed file at least once and compare the result to the input, bit-for-bit, before persisting that file. Compressed files are placed into kernel-protected, read-only, memory before the bit-for-bit comparison to guarantee they are immutable during the full verification process.

https://github.com/dropbox/lepton


https://github.com/packjpg/packJPG

PackJPG v2.5k (01/22/2016)
~~~~~~~~~~~~~~~~~~~~~~~~~~

packJPG is a compression program specially designed for further
compression of JPEG images without causing any further loss. Typically
it reduces the file size of a JPEG file by 20%.

Monday, August 10, 2020

JPEG XR (JPEG extended range)

https://en.wikipedia.org/wiki/JPEG_XR

JPEG XR[4] (JPEG extended range[5]) is a still-image compression standard and file format for continuous tone photographic images, based on technology originally developed and patented by Microsoft under the name HD Photo (formerly Windows Media Photo).[6] It supports both lossy and lossless compression, and is the preferred image format for Ecma-388 Open XML Paper Specification documents.
Support for the format is available in Adobe Flash Player 11.0, Adobe AIR 3.0, Sumatra PDF 2.1, Windows Imaging Component.NET Framework 3.0, Windows VistaWindows 7Windows 8Internet Explorer 9Internet Explorer 10Internet Explorer 11Pale Moon 27.2.[7][8][9] As of August 2014, there were still no cameras that shoot photos in the JPEG XR (.JXR) format.

Friday, October 20, 2017

Weatherproof TTL Serial JPEG Camera with NTSC Video and IR LEDs

https://www.adafruit.com/product/613




TECHNICAL DETAILS


  • Metal Housing size: 2" x 2" x 2.5"
  • Weight: 150 grams
  • Image sensor: CMOS 1/4 inch
  • CMOS Pixels: 30M
  • Pixel size: 5.6um*5.6um
  • Output format: Standard JPEG/M-JPEG
  • White balance: Automatic
  • Exposure: Automatic
  • Gain: Automatic
  • Shutter: Electronic rolling shutter
  • SNR: 45DB
  • Dynamic Range: 60DB
  • Max analog gain: 16DB
  • Frame speed: 640*480 30fps
  • Scan mode: Progressive scan
  • Viewing angle: 60 degrees
  • Monitoring distance: 10 meters, maximum 15meters (adjustable)
  • Image size: VGA(640*480), QVGA(320*240), QQVGA(160*120)
  • Baud rate: Default 38400, Maximum 115200
  • Current draw: 75mA without IR LEDs on. 250mA extra for IR LEDs
  • Operating voltage: DC +5V
  • Communication: 3.3V TTL (Three wire TX, RX, GND)

Sunday, January 22, 2012

JPEG Mini

http://www.jpegmini.com/main/home

I also came up with a method with my Livecam to drastically reduce the size required for a JPEG with almost not noticeable loss.

So I wonder what these guys are doing and if it's worth while.  If you try it please leave me a comment, I'd love to know what you think of this service.

John Sokol - Editor

Wednesday, June 22, 2011

Fwd: ppmtompeg - jpeg frames to MPEG

---------- Forwarded message ----------
From: "Jesse Monroy"
Date: Jun 22, 2011 7:24 PM
Subject: Ppmtompeg - jpeg frames to MPEG
To: "John Sokol"
http://netpbm.sourceforge.net/doc/ppmtompeg.html
I'm installing netpbm and the installation program says that this can
be used as a server.

SECURITY REPORT:
This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system.

/usr/local/bin/ppmtompeg

If there are vulnerabilities in these programs there may be a securityrisk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall'   to deinstall the port if this is a concern.
For more information, and contact details about the security status of this software, see the following webpage: http://netpbm.sourceforge.net/


Jesse

Friday, August 28, 2009

READ "Google exposes web surveillance cams"

(this was from an E-mail last year. Thought it would be useful)
See my site jpegcameras.com for more info:

READ "Google exposes web surveillance cams"
http://www.theregister.co.uk/2005/01/08/web_surveillance_cams_open_to_all/

Here is a search that finds Axis webcams:
inurl:"view/index.shtml"
and
inurl:"axis-cgi/mjpg"


Below is a list of known working cams I was testing against last year.


http://webcam.vardebib.dk/axis-cgi/mjpg/video.cgi

http://cam.raad.tartu.ee/axis-cgi/mjpg/video.cgi?camera=&resolution=320x240

http://webcam.enschede.nl:48250/axis-cgi/mjpg/video.cgi?camera=&resolution=320x240

http://webcam3180.ima.umn.edu/axis-cgi/mjpg/video.cgi?camera=1&resolution=704x480

http://webcam.skedsmo.kommune.no/axis-cgi/mjpg/video.cgi?camera=&resolution=352x288

http://webcam1.cs.earlham.edu/axis-cgi/mjpg/video.cgi?camera=&showlength=1&resolution=704x480

http://128.164.197.124/axis-cgi/mjpg/video.cgi wrgw WEBCAM

http://trafficcams2.cet.unomaha.edu/axis-cgi/mjpg/video.cgi?resolution=CIF&camera=1

http://trafficcams2.cet.unomaha.edu/view/index.shtml Axis 241Q blade video server... QUAD

http://207.71.250.112/axis-cgi/mjpg/video.cgi?camera=&showlength=1&resolution=640x480

http://207.71.250.112/view/index.shtml Santa Barbara Yacht Club

http://gw.tallinnlv.ee:11082/axis-cgi/mjpg/video.cgi?camera=&resolution=352x288

http://shop.ligi.com/axis-cgi/mjpg/video.cgi?camera=&resolution=640x480

http://128.197.58.190/axis-cgi/mjpg/video.cgi?resolution=320x240

http://cphatteras.dyndns.org:8024/axis-cgi/mjpg/video.cgi?resolution=320x240

http://webcam01.lugano.ch/axis-cgi/mjpg/video.cgi

http://81.8.176.17:81/axis-cgi/mjpg/video.cgi?showlength=1

http://134.193.160.163/axis-cgi/mjpg/video.cgi?showlength=1

http://62.100.53.122/axis-cgi/mjpg/video.cgi?camera=3&resolution=176x144

http://207.111.165.30/axis-cgi/mjpg/video.cgi?showlength=1

http://livekuva.suomi.net/axis-cgi/mjpg/video.cgi?camera=&showlength=1&resolution=640x480

http://webcam.magic.iac.es/axis-cgi/mjpg/video.cgi telescope

http://165.91.110.101:2010/axis-cgi/mjpg/video.cgi?showlength=1 **

http://webcam1.oa-systems.nl/axis-cgi/mjpg/video.cgi

http://camera1.mairie-brest.fr/axis-cgi/mjpg/video.cgi

http://bernkastelcam.homedns.org/axis-cgi/mjpg/video.cgi?camera=&resolution=320x240 **

http://webcam.synergyonline.com/axis-cgi/mjpg/video.cgi?camera=&resolution=640x480

http://bkcam04001.bk.tudelft.nl/axis-cgi/mjpg/video.cgi?showlength=1

http://hotootrot.axiscam.net:3000/axis-cgi/mjpg/video.cgi?showlength=1

http://217.115.246.146:30080/axis-cgi/mjpg/video.cgi?showlength=1

http://85.105.45.76/axis-cgi/mjpg/video.cgi?resolution=640x480&compression=60&color=1&clock=0&date=0&text=0

http://cam2.east-ayrshire.gov.uk/axis-cgi/mjpg/video.cgi?camera=&resolution=352x288

http://141.252.165.132:8080/axis-cgi/mjpg/video.cgi?showlength=1

http://webkamera.overtornea.se/axis-cgi/mjpg/video.cgi?camera=&showlength=1&resolution=352x288

http://glockerwebcam2.bus.utk.edu/axis-cgi/mjpg/video.cgi?showlength=1

http://webcam01.spfldcol.edu/axis-cgi/mjpg/video.cgi

http://213.203.151.230/axis-cgi/mjpg/video.cgi?&showlength=1

http://130.111.231.69/axis-cgi/mjpg/video.cgi

http://videoczm.no-ip.info/axis-cgi/mjpg/video.cgi

http://sm-cam01.sm.luth.se/axis-cgi/mjpg/video.cgi

http://195.86.127.26/axis-cgi/mjpg/video.cgi?resolution=CIF&dummy=1155579388483

http://cam0.firstlink.li/axis-cgi/mjpg/video.cgi?showlength=1

http://livecam.norran.se/axis-cgi/mjpg/video.cgi?showlength=1

http://81.190.193.145/axis-cgi/mjpg/video.cgi?camera=1&resolution=352x288

http://webcam1.pgharts.org/axis-cgi/mjpg/video.cgi?camera=1&resolution=352x240
http://195.65.88.174/axis-cgi/mjpg/video.cgi?camera=1&resolution=352x288

http://www.texkitty.com:81/axis-cgi/mjpg/video.cgi



http://24.234.255.102/axis-cgi/mjpg/video.cgi?camera=2&resolution=352x240&1157301249078

http://82.92.73.206:443/axis-cgi/mjpg/video.cgi

146.176.65.10/axis-cgi/mjpg/video.cgi

http://142.22.58.150/axis-cgi/mjpg/video.cgi?camera=&showlength=1&resolution=704x480

http://134.36.136.44/axis-cgi/mjpg/video.cgi?camera=&resolution=704x576
http://128.252.39.99/axis-cgi/mjpg/video.cgi?camera=&resolution=352x240
http://www.serveurperso.com:81/axis-cgi/mjpg/video.cgi

http://217.11.38.250/axis-cgi/mjpg/video.cgi
http://217.11.38.250/axis-cgi/com/ptz.cgi?camera=1&move=left

jpeg compression

Hey John,

I'm working on a project for -- that closely relates to the jpeg decompression stuff you showed me a while ago and was wondering if you could help me out...this time I am trying to compress a bitmap into a jpeg using the same IJG library. I've got the library working for the most part, except that something strange seems to be going on with the colors in some instances. Attached is a bitmap and the associated compressed jpeg. As you can see, a lot of the yellows in the bitmap turn to blues in the jpeg. Do you have any idea what I am doing wrong? In nature scenes, it is a lot less noticeable.

I should note that the bitmap started out 32 bit, and I had to convert it to 24 bit before feeding it to the compression engine. So, do you have any ideas?

Thanks,
W




---------------
W,
What are your inputs and storage format?
RGB/ YUV?

it looks like your colors are crossed, I recommend getting a red, green and blue object (and yellow) so you can compair and see exactly what colors gone wrong.

Could be U/V or R/B reversal.

John
---------------

Input is RGB. I'll give that a shot. Thanks.

W
---------------
You were correct sir. RB reversal. Thanks again!

W

Wednesday, July 01, 2009

Niro JPEG Patent rejected Again

FROM TechDirt

Lawyer Raymond Niro, for whom the term "patent troll" was apparently first coined, has been known to use the fact that he represents a company called Global Patent Holdings (GPH) to his advantage. GPH owns patent 5,253,341, but looking at it there won't do much good. You see, Niro and others claimed that the patent covered pretty much anyone running a web server, leading to quite a few legal battles, including one against a guy, Greg Aharonian, who called it a "bad patent." For claiming that, he got sued for patent infringement. In fighting the patent, it was re-examined, and all 16 of its claims were rejected... but a 17th claim was added and allowed to stand.

Since then the patent has been asserted against a wide range of organizations, including some resort in Florida and the Green Bay Packers. Niro appears to claim that any site using a JPEG image violates the patent. Not only that, but in cases where the patent has been asserted, Niro has been known to go for something of a sympathy play, by noting that the inventors (or the widow of one inventor) named on the patent are "old and feeble" (yes, they called them feeble) and made almost no money in 2006 (even though the filing was in 2008 -- some noted that their 2007 income was conveniently left out).

With so many cases involving this patent underway, the USPTO agreed to re-examine the one claim (claim 17). And, with that re-exam going on, a judge on one of the cases put the case on hold until the re-exam is done. While GPH protested, claiming that the patent had already been re-examined (and that the re-exam process took too long), the judge pointed out that there's only one claim left (so it should be faster) and that this particular claim had never been re-examined, since it was added during the last re-exam.

Story continues at TechDirt

Monday, July 09, 2007

It's been a while

I am long overdue for some posts. In the mean time so much has happened.
Where to begin.
Lots of Embedded Linux stuff some is video and imaging related.
Blackfin and PXA270 X-Scale ARM processors, now I'm working on Altera NIOS II, struggling to get uC Linux on it and having to learn VHDL. I know once I am over that learning curve a whole new world of programmable Hardware will be open to me.

Did a V4L2 Driver for the SDI Master Board, but only got partial payment on that, I still own one of the developers $4400, that I will have to pay out of my pocket since the customer isn't paying up... Very upsetting for me.

SDI is cool though, I have utilities now to capture and decode these in Windows and Linux X win.
SDI is not compressed at all, looks like a raw captured YUYV video stream sampled at 13.5 Mhz just like CCIR 601. It's CCIR 656 and has sync markers embedded into it's video data stream, also audio is embedded into it. I plan to open source all of this if I don't get paid soon.

Did a bunch of USB stuff, that was a really learning experience, I really was avoiding USB for a long time. There is a video over USB standard that is out there now.

I have avoided commenting on the Net Neutrality issue, but there shouldn't be any regulations in my opinion.

checkout joost.com

I also put up a number of new sites. Jpeg Cameras , V4L2 Video for Linux 2

I have a currently working version of ECIP for RTP streams, worked great with 6MBPS streams into VLC (videolan).

I was stunned that Skype now uses my firewall bypass idea. See posts on Slashdot.

I wish people would stop asking me for Kodicom Diginet software. I do sell compatible board, but can't provide that software. But boards work great in Linux with ZoneAlarm and under FreeBSD with a little user space setup utility I did.


There's a lot more but that will be in the next post.

John