Prev Previous Post   Next Post Next
Old 29th October 2011, 04:36   #1
xpmule
Junior Member
 
Join Date: Dec 2010
Posts: 26
Album Art Control for Portable Devices

Any kind of control over the album art functionality when copying tracks/albums from the media library to a portable device using MTP would be great.
That was a mouth full

If i was coding winamp i would add the following for Portables (mine anyway)
- add a function to "copy any found folder.jpg's"
- add an option to disable transfering album art (kill the .alb file creation if possible)
- add an option to stretch / resize art if needed (couple lines of code with c++ gdi can do that)

Seriously guys come on ........................

Its not that hard to resize a .jpeg image..



code:

Gdiplus::Bitmap* CImageTools::ResizeClone( Bitmap *bmp )
{
if ( g_bGDIRunning == TRUE )
{
UINT height = bmp->GetHeight();
UINT width = bmp->GetWidth();

if ( height != width ) { Trace( "Album Art Not Squared" ); }

Gdiplus::Bitmap* newBitmap = new Gdiplus::Bitmap( 220, 220, PixelFormat24bppRGB );
Gdiplus::Graphics graphics( newBitmap );
graphics.DrawImage( bmp, 0, 0, 220, 220 );

return newBitmap;
}
}

xpmule is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Wishlist

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump