1.Disable scaling when loading large images. 2.Moving the logic for channel conversion in image processing.
fix: The presence of ".pdf" multiple times in the pdf_path results in model_path not matching the expected.