File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ Function Name | Parameters | Returns
1313** [ deleteImage] ** | ** imageName** : * str* | - |
1414** [ updateImage] ** | ** imageName** : * str* <br > ** newImageBytes** : * bytes* <br > ** newExtensionType** : * str* | - |
1515
16- <br >
17-
1816[ See definitions] ( #definitions )
1917
2018[ init ] : #initselfdatabasepath--str--databasedb-tablename--str--images---none
@@ -34,6 +32,7 @@ Function Name | Parameters | Returns
3432[ updateImage ] : #updateimageself-imagename--str--none-newimagebytes--bytes--none-newextensiontype--str--none---none
3533
3634# Usage
35+
3736- <h3 >Importing & Creating Handler</h3 >
3837
3938``` python
@@ -87,6 +86,8 @@ print(isExists)
8786bytesOfImage, extensionType = handler.imageSelector(path = r " C:\U sers\m ozancetin\D esktop\m yimage1. png" )
8887print (" Bytes Length: " + str (len (bytesOfImage)) + " \n Extension Type: " + extensionType)
8988```
89+ <hr >
90+ <br >
9091
9192# Definitions
9293
@@ -139,6 +140,9 @@ print("Bytes Length: " + str(len(bytesOfImage)) + "\nExtension Type: " + extensi
139140
140141- Updates image * by name in database* .
141142
143+ <hr >
144+ <br >
145+
142146# TODO's
143147- [x] Write a readme file
144148- [x] Add different types of images (Right now just png is supported)
You can’t perform that action at this time.
0 commit comments