PPRuNe Forums - View Single Post - Weather/Web Cameras
View Single Post
Old 4th Feb 2019, 07:05
  #163 (permalink)  
sdielectrical
 
Join Date: Dec 2009
Location: Sydney
Posts: 31
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by Squawk7700
You can make the text easier to read by inserting a black jpg before the met text and adjust the dimensions to suit. The first set of numbers is X and Y, the other is the size of the jpg (which is simply just some black pixels) and the last number (80) is the transparency.

$black = imagecreatefromjpeg('black.jpg');
imagecopymerge($image, $black, 270, 678, 0, 0, 765, 30, 80);



Hey Squawk,

Thanks mate. I did what you suggested and in this case this was a good solution to the image at Katoomba.



Cheers
sdielectrical is offline