sRGB conversion and resize upon upload of images

You are right. :smile:
This would be simpler. You must pass the root and url to the ImageConverter as parameter, because the defaults get overwritten by the given SourceImage to place the result per default into the same folder.

So you have to do something like this:

$image = new ImageConverter($file, array(
  'url' => $file->dir() . '/' . 'resized',
  'root' => $file->dir() . DS . 'resized',
  'tosRGB' => true,
  'width' => 1024,
  'height' => 1024,
));
$image->process();