Skip to content

[Question] How Set canvas size ? #97

Closed Answered by hm21
santoshgistto asked this question in Q&A
Discussion options

You must be logged in to vote

@adamkoch I just added the option to capture only the background image area, which we can enable in the imageGenerationConfigs with the captureOnlyBackgroundImageArea flag. This flag is now enabled by default. If a layer is outside the background image, it will show the user a bit hidden because I overlay the background color with opacity on the layer. If you want to hide it completely, you can set the opacity from the option outsideCaptureAreaLayerOpacity to 1 in the configs of the imageEditorTheme like below:

 configs: ProImageEditorConfigs(
      imageEditorTheme: const ImageEditorTheme(
                outsideCaptureAreaLayerOpacity: 1,
   ),
)

I didn't release this version as a stabl…

Replies: 10 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hm21
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #68 on June 14, 2024 07:08.