ImageEditor API Params Usage
This is compulsory, you need to use this and add the other parameters
-
https://scripts.thunkable.ga/image/editor/editor.php
With this base url, you cannot do nothing, you should add more things
This is compulsory, to specify the image to use
-
?thumb=your_img_name
Setup your image to edit
eg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg
-
&resize
Resize the image
-
&rs_auto=%
Change the
%
for the percentage you want to edit the size of the imageeg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&resize&rs_auto=50
-
&rs_manual
-
rs_height=px
Setup the height of the image changing
px
to a pixel number -
rs_width=px
Setup the width of the image changing
px
to a pixel number
-
-
-
&frame
Add a frame to the image
-
&frame_width=px
Change the
px
for the pixels of the frameeg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&frame&frame_width=15
-
&frame_width=color
Setup the color of the frame changing
color
to hexdecimal coloreg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&frame&frame_color=FF0000
-
-
©right
Add a copyright text to the image
-
©right_text=text
Change the
text
for the text of your image -
©right_position=x% y%
Change the text position to
x
percentage andy
percentage -
©right_fontsize=px
Change the
px
to the height of your text -
©right_textcolor=color
Setup the color of the text changing
color
to hexdecimal color
-
-
&quality
Change the quality of the image
-
&quality=%
Change the
%
for the percentage you want to edit the quality of the imageeg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&quality=10
-
-
&shadow
Add a shadow to the image
-
&shadow (boolean)
Enable the shadow of the image
eg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&shadow
-
-
&clipcorners
Clip, remove or round the corners of the image
-
&cc_backgroundcolor=color
Setup the color of the corners changing
color
to hexdecimal color -
&cc_array[]=values
Setup the parameters of the clipcorners changing
values
to the next values:- [0]: 0=disable 1=straight 2=rounded
- [1]: Percentage of clipping
- [2]: Clip randomly Boolean 0=disable 1=enable
- [3]: Clip top left Boolean 0=disable 1=enable
- [4]: Clip bottom left Boolean 0=disable 1=enable
- [5]: Clip top right Boolean 0=disable 1=enable
- [6]: Clip bottom right Boolean 0=disable 1=enable
-
&cc_transparent (boolean)
Enable the transparent background
eg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&clipcorners&cc_transparent
-
-
&age
Fake the age of the image
-
&age_array[]=values
Setup the parameters of the age changing
values
to the next values:- [0]: Boolean 0=disable 1=enable
- [1]: Add noise 0-100, 0=disable
- [2]: Sephia depth 0-100, 0=disable (greyscale)
-
-
&binder
Add a binder frame to the image
-
&binder_framewidth=px
Change the
px
to the number of pixels you want as widtheg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&binder&binder_framewidth=40
-
&binder_framecolor=color
Change the binder color setting
color
to a hexadecimal color -
&binder_spacing=n
Change the
n
to the spacing you wanteg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&binder&bindebinder_spacing=25
-
-
&rotate
Rotate the image
-
&rotate=Xº
Change the
Xº
to degrees you want to rotate the imageeg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&rotate=56
-
&rotate_crop (Boolean)
Declare if you want to crop the rotated image
eg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&rotate=56&rotate_crop
-
-
&flip
Flip the image
-
&flip={
horizontal
/vertical
} (Choose one)Set the
flip
to horizontal or vertical to flip the imageeg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&flip=vertical
-
-
&square
Make the image a square
-
&square (Boolean)
Declare if you want to square the image
eg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&square
-
-
&crop
Crop the image with your parameters
-
&crop_array[]=values
Setup the parameters of the crop changing
values
to the next values:- [0]: 0=disable 1=free crop 2=center crop 3=square crop
- [1]: 0=percentage 1=pixels
- [2]: Crop left
- [3]: Crop right
- [4]: Crop top
- [5]: Crop bottom
-
-
&filter
Apply a filter to your image
-
&f_auto={
edge
/emboss
/blur
/mean
} (Choose one)Choose a filter to automatically apply to your image
eg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&filter&f_auto=emboss
-
&f_manual (Boolean)
Make your own filter using the next values:
- &f_man_offset=n -> Change the
n
to a number to declare the color offset for the filter - &f_man_divisor=n -> Change the
n
to a number to declare the divisor the 3x3 filter - &f_man_array[]=values -> Setup the parameters of the filter changing
values
to the next values:- [0]: a1,1
- [1]: a1,2
- [2]: a1,3
- [3]: a2,1
- [4]: a2,2
- [5]: a2,3
- [6]: a3,1
- [7]: a3,2
- [8]: a3,3
- &f_man_offset=n -> Change the
-
-
&persperctive
Simulate a perspective to the image
-
&pp_array[]=values
Setup the parameters of the persperctive changing
values
to the next values:- [0]: Boolean 0=disable 1=enable
- [1]: Direction 0=left 1=right 2=top 3=bottom
- [2]: Perspective strength 0 - 100
-
pp_bg=color
Change the background color setting
color
to a hexadecimal coloreg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&perspective&pp_bg=FFF999
-
-
&shading
Add a shading effect to the image
-
&shading_array[]=values
Setup the parameters of the shading changing
values
to the next values:- [0]: Boolean 0=disable 1=enable
- [1]: Shading strength 0 - 100
- [2]: Shading area 0 - 100
- [3]: Shading direction 0=right 1=left 2=top 3=bottom
-
shading_color=color
Change the background color setting
color
to a hexadecimal coloreg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&shading&shading_color=FF0000
-
-
&mirror
Simulate a mirror on the image
-
&mirror_array[]=values
Setup the parameters of the mirror changing
values
to the next values:- [0]: Boolean 0=disable 1=enable
- [1]: Mirror transparency gradient starting strength 0 - 100
- [2]: Mirror transparency gradient ending strength 0 - 100
- [3]: Mirror area 0 - 100
- [4]: Mirror 'gap' between original image and reflection in px
-
mirror_color=color
Change the color of the mirror setting
color
to a hexadecimal coloreg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&mirror&mirror_color=FFFF00
-
mirror_background=color
Change the background of the mirror setting
color
to a hexadecimal color
-
-
&negative
Change the colors' palette to a negative one
-
&negative (boolean)
Apply a negative filter
eg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&negative
-
-
&replace_color
Replace a color on the image
-
&rc_array[]=values
Setup the parameters of the shading changing
values
to the next values:- [0]: Boolean 0=disable 1=enable
- [1]: Color to replace in web format: '#00FF00'
- [2]: Replacement color in web format: '#FF0000'
- [3]: RGB tolerance 0 - 100
-
-
&pixelscramble
Make a pixel party
-
&pixelscramble_array[]=values
Setup the parameters of the pixel party changing
values
to the next values:- [0]: Boolean 0=disable 1=enable
- [1]: Pixel range
- [2]: Repeats (use with care!)
-
-
&greyscale
Make the image to a grayscale
-
&greyscale (boolean)
Remove the colors
eg.: https://scripts.thunkable.ga/image/editor/editor.php?thumb=example.jpg&greyscale
-