Instant Low-res image like Picasa 3

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

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

Post by Zarxrax »

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: 274
Joined: Sat Dec 02, 2006 12:41 am

Post by thibaud »

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: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 »

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 Linux X64 - Debian - X64
User avatar
xnview
Author of XnView
Posts: 45053
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

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 »

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: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

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: 274
Joined: Sat Dec 02, 2006 12:41 am

Post by thibaud »

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 »

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 »

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: 45053
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Post by xnview »

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: 6402
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

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: 6402
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Instant Low-res image like Picasa 3

Post by XnTriq »

  • 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: 45053
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re:

Post by xnview »

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: 274
Joined: Sat Dec 02, 2006 12:41 am

Re: Instant Low-res image like Picasa 3

Post by thibaud »

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: 45053
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Instant Low-res image like Picasa 3

Post by xnview »

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.