From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans Reiser Subject: Re: storing images thumbnails as pseudo files? Date: Fri, 21 Jul 2006 18:56:25 -0600 Message-ID: <44C177B9.7070604@namesys.com> References: <5710000871.20060721212932@wp.pl> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <5710000871.20060721212932@wp.pl> List-Id: Content-Type: text/plain; charset="us-ascii" To: Pysiak Satriani Cc: "reiserfs-list@namesys.com" Pysiak Satriani wrote: >Hello, > >suppose pseudo files, file-as-directory are on my r4 partition and are usuable. > >Does namesys' vision allow things like storing image thumbnails "inside the file >itself" ? > >Example using jpgtn (jpgtn creates thumbnails of jpg files) > >// create 150px thumbnail >$ jpgtn -s 150 -H test.jpg > >// move the thumbnail "into" the file >$ mv tn_test test.jpg/thumbs/150px > >// the same but a 100px thumbnail >$ jpgtn -s 100 -H test.jpg >$ mv tn_test test.jpg/thumbs/100px > >Then I could write HTML code like this: > > > >This idea came to me because of a project that has to create many thumbnails >for many files. That requires to make a naming scheme, parse filenames and >don't make one mistake. If I could do things this way it would be much >easier and elegant to do. > >But that's just an idea from someone not really knowledgible enough in >the area. > >Best regards, >Maciej Soltysiak > > > > > > What you describe is the vision we are trying for.