Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load image from Bitmap #28

Closed
eddylai opened this issue Feb 2, 2024 · 1 comment
Closed

Load image from Bitmap #28

eddylai opened this issue Feb 2, 2024 · 1 comment

Comments

@eddylai
Copy link

eddylai commented Feb 2, 2024

using var image = Image.FromFile("Assets/demo.jpg")
可不可不從檔案讀取Image來源,而直接取自某一PictureBox或System.Drawing.Bitmap物件內容?

@iwaitu
Copy link
Collaborator

iwaitu commented Apr 6, 2024

可以啊,你直接bitmap 应该也可以的,System.Drawing.Bitmap 继承自 Image 类

@iwaitu iwaitu closed this as completed May 2, 2024
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

No branches or pull requests

2 participants