Skip to content

move generate + image format and base64 encoding into new function generate_and_encode() - #1418

Closed
Korsar13 wants to merge 1 commit into
leejet:masterfrom
Korsar13:k13
Closed

move generate + image format and base64 encoding into new function generate_and_encode()#1418
Korsar13 wants to merge 1 commit into
leejet:masterfrom
Korsar13:k13

Conversation

@Korsar13

Copy link
Copy Markdown
Contributor

No description provided.

@leejet

leejet commented May 17, 2026

Copy link
Copy Markdown
Owner

Thanks for the PR. The safe part to extract is mostly just encoding/base64, which would only reduce a small amount of duplication. The current PR reduces more code by also moving generation into the helper, but that changes route/job control flow and error handling. Given that tradeoff, I’d prefer to keep the current code explicit and close this for now.

@leejet leejet closed this May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants