... and how can i change the size of the output history picture (with graphics..)?
... you can change width and height for 'imageCreate' ...
... but then you must adapt also the coordinates in all 'imageLine' to your new width and height ...
... but the inner coordinates for width=255 should not be changed i.m.o. ...
... it is the graph from left (darkest) to right (brightest) ("RGB-Farbraum" ... 8 Bits ... 0 - 255 ... 2
8=256 ) ...
... you can change through test ...
But I found some other little problems.
... by saving the hist_xxx.png in the cat-folders you find all these images in APC -> Check new images ...
... but when we save all the hist_'image_media_file'.png in a new folder e.g. /data/media/histo ... there can be also problems ...
... there is the possibility, that 2 pictures from different folders have the same file name ...
... and than is hist_'image_media_file'.png = hist_media_file.png in the same folder ...
... it sould be better we create the names of the histo.png with image_ids like hist_'image_id'.png ...
... and save the hist_'image_id'.png in /data/media/histo ...
I will try that in such a way ... or there are other suggestions ...
mawenzi