If your using ImageMagick, the rounding methods I used seem to have ill effects on transparent backgrounds (Making circles in the corners with whatever RGB is set for that area, rather than leaving it alone). Need to figure out how to merge the alpha channels instead of overwriting them... The GD method should work fine though :p
well the problem with borders has gone for me, when I switched to png, but I'll have to play yet with it
maybe I was just doing smth wrong at the beginning...
But here are some real debug, I think the behavior of the lib is not working as it should in some scenarios, look here:
other than that really good lib. makes images resizing VERY fast and not a big deal:))!
cheers! Any suggestions on image functions that would be nice? I plan on doing watermarking and thumbnails, but any more are welcome.

I'll see if I can get the library copied over before it decides its done for good. If I can't, I guess I'll just have to rewrite it :S Pablo Quiroga wrote on 01/26/11 7:39 pm:I really like a Drupal module called Imagecache. It's very easy to generate thumbnails, resize, crop, etc. You can donwload the files and dig into the code. From the project page: "ImageCache allows you to setup presets for image processing. If an ImageCache derivative doesn't exist the web server's rewrite rules will pass the request to Drupal which in turn hands it off to ImageCache to dynamically generate the file." You should take a look at that. This would be an awesome contribution to Fuel. Maybe this could be included in a package if lead developers doesn't want to include it on Fuel Core.
class Controller_Image extends Controller {
public function action_resize($width,$height,$file)
{
$thumb = \Image::create('/var/www/fuel/public/uploads/'.$file);
$thumb->resize($width,$height);
$path = DOCROOT . 'image/resize/' . $width .'/'. $height;
if( ! file_exists ( $path .'/'. $file ) )
{
if( ! file_exists ( $path ) )
{
mkdir($path,0755,true);
}
$thumb->save($path.'/'.$file);
}
$thumb->show();
}
location ~* (\.jpg|\.png|\.gif)$ {
expires 31d;
try_files $uri @fuel; #Try to read file first and fall back to @fuel php if not found.
}
<img src="path/to/your/image/100/100/myimgage.jpg" />to resize your image to 100 x 100. If image with that size exists it will be served directly from nginx and no php code involved.
Once more good luck and keep us posted! Kris K wrote on 2011-03-21:Oh, I fixed those problems in a newer commit (with the load). I forgot to use imagedestroy() when loading a new image in the GD class (Which I assume your using, as in ImageMagick antialias has no effect). I'm really curious about the black rounded corners (Were you saving as an image type with no transparency?). The images would be really helpful, or just make a red box as an example. I was also debating adding a reload() function to reload the image, instead of calling load again. Just a thought.
And about gif problems - I'll try to reproduce tonight and post here.
Good luck everyone 
since you are the image guru, I'll try to ask:) I have one problem: http://www.9lessons.info/2010/07/google-like-captcha-with-php.html it is the captcha lib, which creates google-like captcha images. But I needed transparent support, which is not supported
So I started my own approach, modifying the provided captcha, etc, I ended up with: http://scrp.at/7951c08735cb289025fc7f6c04f750b8ff41a86a - which basically creates transparent bg, etc
). My best bet would be to use a color the captcha will avoid (Such as a magenta) and set it as the background with imagecolortransparent(). That should fix the problem the easiest.
Also, I'll do some of my own testing the gif's and see what I come up with :p
And thanks for the congrats, I'm happy to give fuel a nice image library
.
Keep the thoughts coming! Kris K wrote on 01/29/11 10:42 pm:Well, couldn't get anything out of the old hdd, but a new one is coming in on Monday (working off a livecd right now). It only took less than a day to write what I had done. Most of the functions of the image_moo could be added, though requiring a recompile of GD is something I'd like to avoid for just the rounding method. I was trying to make them with the imagesetpixel, but the anti-aliasing is out of my league. I'll try to get it right this time around, but I think I'll tackle the easier ones like watermarking and such first. I'll get back to work on this as soon as I get my new hdd. It's too hard without any local storage. Keep the thoughts coming!
try to keep backups somewhere... it sometimes can save tons of time!
not all functions there require the GD recompilation.. so those functions which don't require - I think they could be added... what do you think?
). I'll make sure to backup from now on too :p
Other than that great job, thank you
I went threw the library to see if there is an option to set quality like this:
\Image::load($full_path)
->quality($quality)
->crop_resize($width, $height)
->save($full_path_thumb, 0666);
\Image::load($full_path)
->crop_resize($width, $height, $quality)
->save($full_path_thumb, 0666);

Awaiting comments
It looks like you're new here. If you want to get involved, click one of these buttons!