Not really. There are internal (undocumented) functions that you might be able to use to accomplish this, but basically, the answer is no.
However, this has been requested a few times and was one of the goals of
IK3. IK3 is very very close to an alpha release but I've been busy lately and haven't been able to do
the last 2% of work. I hope to knock it out after the holidays.
With IK3, it looks something like this:
from imagekit import ImageSpec
from imagekit.files import GeneratedImageCacheFile
class MySpec(ImageSpec):
processors = [...]
format = 'JPEG'
# etc
spec = MySpec(source=some_file)
new_file = GeneratedImageCacheFile(spec)
new_file.validate()
I know this isn't the answer you were hoping for, but I hope it helps.