Image size reduces after edit #644
Unanswered
swarajsinghasint
asked this question in
Q&A
Replies: 2 comments 11 replies
-
|
To ensure that the original quality remains intact, you can set the configurations as follows: configs: ProImageEditorConfigs(
imageGeneration: const ImageGenerationConfigs(
maxOutputSize: Size.infinite,
/// If you have high-resolution images that you need to handle on
/// older devices, you should set the configurations as shown below
/// to avoid overloading the CPU.
/// enableBackgroundGeneration: false,
///
/// processorConfigs: ProcessorConfigs(
/// processorMode: ProcessorMode.minimum,
/// )
/// Various other configurations:
///
/// outputFormat: OutputFormat.jpg,
///
/// jpegQuality: 100,
/// pngFilter: PngFilter.none,
/// pngLevel: 0,
),
), |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Even after the code changes, making just two simple edits (drawing two red lines), the original 9 MB JPG image was reduced to around 3 MB in size. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’ve been using this package and noticed that the image size drops significantly after editing. For example, a 9.5 MB image gets reduced to around 2.5 MB even if I only draw a single point on it.
Is there a way to prevent this size reduction or keep the original quality intact?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions