On 15 Jun 2011, at 09:54, Christian Aust wrote:

> I assume you're using the 1.0 release candidate, and therefore the new asset 
> manager extension?
> 
> I've seen this with transparent PNG, too. The paperclipped created thumbnails 
> didn't have transparent areas but instead black background. Radiant itself 
> shouldn't change the file that you're uploading but will use imagemagick to 
> create variants with other dimensions.

The asset manager will only create the thumbnails that you tell it to, apart 
from a couple of standard sizes that we use in the admin interface. Both of 
those are small so we use pngs: in most other cases the original file format 
will be preserved.

Imagemagick should handle transparency, but it does have some issues in older 
versions. It tends to add a black halo. Try and make sure you have version 
6.2.4 or later.

The asset manager is not very well documented at the moment, I'm afraid. It 
will be soon. For now you have to edit the config entry 
assets.thumbnails.image, where you can define as many thumbnails as you like 
with this kind of format:

        tiny:size=20x20#,format=png|huge:size=1280x1280>|...

likewise for assets.thumbnails.video and so on. Be warned, though: one reason 
it's not documented is that we haven't committed to the format yet, so it is 
likely to change. 

The other reason is that soon this will all be configurable through the admin 
interface.

best,

will

Reply via email to