Re: Re: [nbdiscuss] New site design is live

vbrabant <[email protected]>
Newsgroups gmane.comp.java.netbeans.webteam
Organization CollabNet Hosting
Message-ID <[email protected]>
Jack,
i am not sure to well understand.

You say that we have to use a jpg file as module_icon, but it seems that 
the left navigator search after a .png file.

I looket at other modules and it's always a png file. not a jpeg.

And if you read mail of Daniel Pfeffer, he did some modifications to use 
png file in place of jpeg

When i commit the jpeg i received for translationfiles, icons hasn't changed
When i commit a png version, icon changed.

So, my conclusion is that at this moment, png is used and nobody 
complaint about that

Jack Catchpoole wrote:

> Hello all,
>
> cc'ing webteam@ and Tim who helped with this.
>
> Tor Norbye wrote:
>
>> Does the module_icon really have to be a JPG image? JPG is a very 
>> good file format for photos, it's a
>> very bad file format for icons. png is a much better
>> one for icons - gifs are fine too.
>
>
> After fiddling around a bit, it seems that jpg is actually
> the best format in this case (unless we're doing something
> wrong which is quite possible :-)
>
>   http://www.netbeans.org/download/temp/core.html
>
> - The first gif is the most optimised, but if you look at the
>   top right corner you'll see a deformation of the cube, bad
>   enough to be unacceptable I think;
>
> - so far have been unable to get a png with correct palette,
>   bgcolour is wrong as you can see in both examples here;
>
> - 8bit gif is fine;
>
> - 24bit jpg is also fine, and 40% smaller than the gif;
>
> I'm no expert but I assume that since the icon is quite
> detailed, includes a lot of variation/gradation in shading etc,
> that jpg simply works best here.
>
> Unless anyone strongly disagrees - and can come up with
> a better option (acceptable quality and filesize) - I'm
> going to suggest we keep the jpg.  I'll give ppl a few
> days to object and come up with alternatives.
>
> Translated files guys : due to the way the module navigation
> and icon wrappering is set up, the module icon image must be
> named the same everywhere.  Obviously this means that the
> file *type* must be the same everywhere.  If we use
> "module_icon.jpg" for one module, it must be a jpg everywhere.
>
> SO - unless we come up with a better alternative, the
> translatedfiles jpg that you already have (I think?) is
> the one you should use - or rather it has to stay a jpg.
>
> Comments/feedback welcome.  Thanks.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.