Add generation from reading image