Skip to content

Conversation

@wbruna
Copy link
Contributor

@wbruna wbruna commented Jan 20, 2026

No description provided.

enum class ImageFormat { JPEG,
PNG };

static int stbi_ext_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes, const char* parameters)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about this function. Maybe I should change stb_image_write.h instead?

@leejet
Copy link
Owner

leejet commented Jan 21, 2026

For server users, they may not want to expose certain image generation details to end users, so I think it would be better to add a option to control this.

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