Digole
Digital Solutions
iDigole Buyer ProtectioniDigole Buyer
Protection
My shopping cart
0 Items:
Secure Checkout
Top Rated Plus
Visit Our Live Auctions
99.9% Customer's Satisfaction
 
Forum : Digole Serial Display :

 Search Forum.. 
 Creat New Topic   Reply 

Add function PicturetoC_Hex_converter.php

 Is it possible to make a function that adds bytes size of a picture  in begin the code of the image.

RE:Add function PicturetoC_Hex_converter.php

 What does it mean?

RE:Add function PicturetoC_Hex_converter.php

 Make a check box that adds HEX values of height and width of the image.

example
Width = 160Pixels, Height = 101Pixels
Picture data
\ xa0 \ x65 \ x3c \ x3c \ x3b \ x3c \ x3c \ x3b \ x3c \ x3c \ x3b \ x3c \ x3c \ x3c \ x ....
Where \ xa0 \ x65 \ width and height.

RE:Add function PicturetoC_Hex_converter.php

 So, you can add this little feature?

She add convenience of your converter. 

RE:Add function PicturetoC_Hex_converter.php

 Because most of application use function call to send image data, the width and height can be composed in there.

But we can add another string to produce this header for it.

RE:Add function PicturetoC_Hex_converter.php

 You have added another line?

Thanks for implementation, but this format is not very useful.
It is more convenient when one textarea without EDIM3, (X position), (Y position),
I use grep to get data from textarea 
grep -z -o -P '<textarea [^>] *> \ K ([^ <] *) $
 
Plus you have a bug in the script.
Now, all the data are separated by commas.

RE:Add function PicturetoC_Hex_converter.php

 Comma problem fixed

RE:Add function PicturetoC_Hex_converter.php

 Everything works but the color is not correct.

 

Green change  blue. Red change yellow ...

Original 

Test picture color

Original

In display

 

At 65K colors all right.

RE:Add function PicturetoC_Hex_converter.php

 Missed color green, just fixed, thank you very much to test the problem.

Copyright Digole Digital Solutions, 2008-2017. All rights reserved.
Powered by Victor Sun