Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(93)

Issue 4585051: thumbnail support (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 1 month ago by mpl
Modified:
15 years, 1 month ago
CC:
camlistore_googlegroups.com
Base URL:
git@github.com:mpl/camlistore.git@master
Visibility:
Public.

Description

thumbnail support BUG= TEST=

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+394 lines, -0 lines) Patch
M build.pl View 1 chunk +1 line, -0 lines 0 comments Download
A lib/go/camli/misc/resize/resize.go View 1 chunk +247 lines, -0 lines 0 comments Download
M server/go/camlistored/ui.go View 4 chunks +146 lines, -0 lines 3 comments Download

Messages

Total messages: 4
brad_danga_com
http://codereview.appspot.com/4585051/diff/1/server/go/camlistored/ui.go File server/go/camlistored/ui.go (right): http://codereview.appspot.com/4585051/diff/1/server/go/camlistored/ui.go#newcode53 server/go/camlistored/ui.go:53: var thumbnailPattern = regexp.MustCompile(`^/ui/thumbnail/([^/]+)(/.*)?$`) shouldn't include /ui/ here, as ...
15 years, 1 month ago (2011-06-14 02:07:54 UTC) #1
mpl
I grew frustrated not being able to push a new patchset to the rietveld issue ...
15 years, 1 month ago (2011-06-15 08:58:11 UTC) #2
mpl
Issue moved to gerrit. closing.
15 years, 1 month ago (2011-06-15 14:41:26 UTC) #3
dangabrad
15 years, 1 month ago (2011-06-15 15:48:29 UTC) #4
On Wed, Jun 15, 2011 at 1:58 AM, Mathieu Lonjaret <
mathieu.lonjaret@gmail.com> wrote:

> I grew frustrated not being able to push a new patchset to the
> rietveld issue so I switched to gerrit and pushed to that new issue
> there:
> http://camlistore.org/r/8
> I changed it all according to your comments. Details below in the text.
>

Gerrit is nicer anyway, so that was good.


>
>
> >
>
http://codereview.appspot.com/4585051/diff/1/server/go/camlistored/ui.go#newc...
> > server/go/camlistored/ui.go:414: //TODO: other formats
> > oh, you're preserving the file type.
> >
> > you might as say that jpg preserves to jpg but everything else ends up
> > just writing a png thumbnail?
>
> Done. Out of curiosity, why like that and not the other way around as
> I had done first? you think .png are a better default choice for
> thumbnails sizewise? faster compression?
>

If it's not a jpeg, it's probably a tiff or bmp or icon or some other
lossless format anyway... might as well keep that.  Plus a thumbnail will be
small anyway, so png works.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b