Instant Low-res image like Picasa 3

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

Zarxrax
Posts: 9
Joined: Sat Nov 01, 2008 9:25 pm

Post by Zarxrax » Mon Nov 03, 2008 3:07 am

Someone who probably knows what he's talking about just told me that you can probably get the fast small blurry previews on jpegs by discarding the high frequency coefficients and not performing idct.

I'm not sure if xnview uses it's own decoders though, as this would require changing the code that decodes the images.

thibaud
Posts: 271
Joined: Sat Dec 02, 2006 12:41 am
Contact:

Post by thibaud » Mon Nov 03, 2008 10:05 am

I think you just described FastPictureViewer: http://www.fastpictureviewer.com/
It doesn't have any sort of browsing or thumbnails, but its straightforward and damn fast.
Thanks a lot for the info. I had never heard of it. it looks extremely capable and highly optimized (gpu extensions support, multithread decoding, yum yum)
unfortunately it's supported image formats doesn't meet my expectation (and actually doesn't expand much onto what picasa 3 already support)

Actually xnview is the ONLY windows image viewer I know off which support (.exr, .hdr, .rpf, ) which are some of the main format used in the cgi industry.
btw, I just stumbled on this interesting Wikipedia comparison of image viewers that might need some editing.

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 » Mon Nov 03, 2008 10:16 am

Zarxrax wrote: I moved them all to another folder, and the viewer still functioned normally, and it did not try to recreate any of the files.
Maybe because you have checked the picasa v3 folder manager option " scan once" instead "scan always" ?
So how is the viewer getting the smaller thumbnails? This is interesting.
Maybe the embedded thumbnails ?

PS: Interesting this Wikipedia link thibaud : here , (just need to be updated)
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

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

Post by xnview » Mon Nov 03, 2008 12:17 pm

For me Picasa store low res in DB, Picasa don't use standard GUI component, but a rewrited GUI based on DirectX, and one thing i have not the same financial or development means as Picasa, ACDsee, .... :-)
Pierre.

Zarxrax
Posts: 9
Joined: Sat Nov 01, 2008 9:25 pm

Post by Zarxrax » Mon Nov 03, 2008 12:28 pm

oops66 wrote:Maybe because you have checked the picasa v3 folder manager option " scan once" instead "scan always" ?
Nope, the main picasa 3 application would rebuild the thumbnails if I ran it, the picasa image viewer did not though, so the image viewer is able to function properly without any thumbnails stored in database.
oops66 wrote:Maybe the embedded thumbnails ?
I was testing with new jpeg images created in photoshop, and I'm pretty sure it doesn't embed thumbnails in them (maybe I'm wrong?).

User avatar
helmut
Posts: 8195
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut » Mon Nov 03, 2008 8:04 pm

JPG format allows for embedding a thumbnail, so perhaps Picasa reads that thumbnail and displays it as a lowres preview.

Perhaps an easy way to check:
Does the lowres preview work for all image types (JPG, GIF, PNG, BMP, TIF) or is it just for JPG images?

thibaud
Posts: 271
Joined: Sat Dec 02, 2006 12:41 am
Contact:

Post by thibaud » Mon Nov 03, 2008 9:59 pm

and one thing i have not the same financial or development means as Picasa, ACDsee, .... Smile
I think everybody here is aware that google != Pierre. :)
I certainly didn't mean to bring both application to a confrontation.

I would just like to encourage you once again with xnviewMP development (which looks absolutely great so far)

And, like I probably already said..
"Details", like performance improvements (which I'm aware can take up a lot of development resources) are definitely the kind of attention I would love to see carried into xnviewMP development at some stage.

Zarxrax
Posts: 9
Joined: Sat Nov 01, 2008 9:25 pm

Post by Zarxrax » Mon Nov 03, 2008 10:05 pm

It takes some time for it to generate thumbnails for a png, it seems. It does jpegs IMMEDIATELY though. But as I said, I'm fairly certain that none of my jpegs contain thumbnails embedded inside.

I start up picasa image viewer, and about 1 second later, it will spit out thumbnails for about 18 jpegs (almost 200mb of combined data), then when it gets to some large png files, it takes it about 1-2 seconds to come up with a thumbnail for them.

I also determined that picasaphotoviewer.exe can function just as long as you keep the file \runtime\slingshot\respack.yt

Zarxrax
Posts: 9
Joined: Sat Nov 01, 2008 9:25 pm

Post by Zarxrax » Mon Nov 03, 2008 11:15 pm

If the creator of xnviewmp is interested in creating the fast jpeg thumbnails, I have found that there is a library called epeg which does it and claims to be the fastest in existence. I would guess Picasa is either using this library or a very similar method of decoding the jpegs.

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

Post by xnview » Tue Nov 04, 2008 8:23 am

Zarxrax wrote:If the creator of xnviewmp is interested in creating the fast jpeg thumbnails, I have found that there is a library called epeg which does it and claims to be the fastest in existence. I would guess Picasa is either using this library or a very similar method of decoding the jpegs.
Ok, thanks, i'll take a look
Pierre.

User avatar
XnTriq
Moderator & Librarian
Posts: 5543
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq » Mon Jan 19, 2009 5:00 am

Loading of images on Picasa Web Albums seems to work like an ajaxified version of the deprecated LOWSRC attribute for the IMG tag in HTML 3.2.

This is an example from Image caracole's album “Xnview”:
Move the knob Image on the slider Image to see the effect.

User avatar
XnTriq
Moderator & Librarian
Posts: 5543
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Instant Low-res image like Picasa 3

Post by XnTriq » Fri Aug 14, 2009 5:30 pm

  • OpenZoom
    OpenZoom is an Open Source SDK for Multiscale Images and Zoomable User Interfaces.
  • GigaPan.org
    The GigaPan(SM) process allows users to upload, share, and explore brilliant gigapixel+ panoramas from around the globe.
  • Zoomorama
    Zoomorama allows users to create their own online magazines, or Zoomazines™, by pasting images, texts and soon, videos. The company seeks to produce a LIFE magazine type of experience online.
  • Microsoft
    • Live Labs: Introducing Seadragon.com
      Smooth, seamless browsing of vast quantities of visual information, on wall sized displays or mobile devices, regardless of the amount of data.
    • DeepZoomPix (technology demonstration available until 31/Dec/2009)
      DeepZoomPix enables you to explore and share photos in a new and interactive way.
  • UCL Centre for Advanced Spatial Analysis
    • Google Maps Image Cutter
      The Google Map Image Cutter is an application designed to take any image or digital photo and cut it into tiles which are displayed on a Google Map. Using this tool, large images can be published on the web in a format that allows the user to pan and zoom using the standard Google Maps interface. Although publishing large digital photos is the most obvious application, this technique can also be used for annotated maps of an area that are not to scale e.g. directions for how to get to the office.

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

Re:

Post by xnview » Sat Aug 15, 2009 7:59 am

Zarxrax wrote:If the creator of xnviewmp is interested in creating the fast jpeg thumbnails, I have found that there is a library called epeg which does it and claims to be the fastest in existence. I would guess Picasa is either using this library or a very similar method of decoding the jpegs.
I've tested epeg, and my library has the same speed...
Pierre.

thibaud
Posts: 271
Joined: Sat Dec 02, 2006 12:41 am
Contact:

Re: Instant Low-res image like Picasa 3

Post by thibaud » Sat Aug 15, 2009 11:47 am

hi Pierre,
glad to hear you investigating performance improvements... how is MP development going on ?
did you by any chance manage to implement some enhanced loading behavior (with instant preview) ?

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

Re: Instant Low-res image like Picasa 3

Post by xnview » Mon Aug 17, 2009 8:28 am

thibaud wrote:hi Pierre,
glad to hear you investigating performance improvements... how is MP development going on ?
did you by any chance manage to implement some enhanced loading behavior (with instant preview) ?
Yes, i have made something, i'll post a new alpha in september...
Pierre.

Post Reply