upd:编码规范
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ type BMPInfoHeader struct {
|
||||
ColorsImportant uint32
|
||||
}
|
||||
|
||||
func readBmpInfo(filePath string) (error, int32, int32) {
|
||||
func ReadBmpImage(filePath string) (error, int32, int32) {
|
||||
file, err := os.Open(filePath)
|
||||
if err != nil {
|
||||
fmt.Printf("=== Failed to open file: %v\n", err)
|
||||
|
||||
Reference in New Issue
Block a user