File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed
Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ Table of contents -
1919 * Links
2020
2121
22- ##Installation
22+ ## Installation
2323 Go to your terminal and type the following command
2424``` bash
25- pip install imagekit-python
25+ pip install imagekitio
2626```
2727
2828## Initialization
@@ -78,8 +78,7 @@ image_url = imagekit.url({
7878 " height" : " 300" ,
7979 " width" : " 400"
8080 }]
81- }
82- )
81+ })
8382```
8483
8584The results in a URL like
@@ -118,8 +117,7 @@ The ```.url()``` method accepts the following parameters
118117 " rotation" : 90
119118 }],
120119 " transformation_position " : " query"
121- }
122- )
120+ })
123121```
124122Sample Result URL -
125123```
@@ -144,9 +142,8 @@ added to this transformation.
144142 " progressive" : " true" ,
145143 " effect_sharpen" : " -" ,
146144 " effect_contrast" : " 1"
147- }]
148- }
149- )
145+ }]
146+ })
150147```
151148
152149```
@@ -168,8 +165,7 @@ https://ik.imagekit.io/your_imagekit_id/endpoint/default-image.jpg?tr=f-jpg%2Cpr
168165 }],
169166 " signed" : True ,
170167 " expire_seconds" : 300
171- }
172- )
168+ })
173169```
174170** Sample Result URL**
175171```
@@ -558,7 +554,7 @@ imagekit.phash_distance('a4a65595ac94518b', '7838873e791f8400')
558554```
559555
560556### Sample Code Instruction
561- To run sample code go to sample directory and run
557+ To run ` sample ` code go to sample directory and run
562558``` python
563559python sample.py
564560```
You can’t perform that action at this time.
0 commit comments