Questions tagged [image.createimage]
18 questions
10
votes
3 answers
Create transparent png with text from scratch in php
All the examples I've found on the web seem to create pngs with text from an existing png. Is it possible to create a transparent png from scratch and then add text?
The code ive got so far follows (but it doesnt work. just outputs a blank image…

AlexMorley-Finch
- 6,785
- 15
- 68
- 103
9
votes
3 answers
imagecreatefromjpeg() php
I'm using imagecreatefromjpeg() function to merge two pictures..
now the problem which I'm facing is that when I use the pictures from my server, it works perfectly and when I use pictures from some other website, it doesn't work.
For example: when…

Anurag
- 141
- 1
- 3
- 12
2
votes
1 answer
Image.getGraphics() returns null
Here is the code (I am extending JFrame in this class) (Point 'size' is the size of the screen):
setVisible(true);
backBuffer = createImage(size.x, size.y);
backGraphics = backBuffer.getGraphics();
I know that the problem exists with the…
user901037
2
votes
7 answers
Problems with createImage(int width, int height)
I have the following code, which is run every 10ms as part of a game:
private void gameRender()
{
if(dbImage == null)
{
//createImage() returns null if GraphicsEnvironment.isHeadless()
//returns true.…

Jonathan
- 541
- 4
- 9
- 19
1
vote
1 answer
imagecreatefromjpeg() function in php
I'm using imagecreatefromjpeg() function to merge two pictures..
now the problem which I'm facing is that when I use the pictures from my server, it works perfectly and when I use pictures from some other website, it doesn't work.
For example: when…

Anurag
- 141
- 1
- 3
- 12
1
vote
2 answers
0
votes
1 answer
PHP code not working on Facebook
I'm using this code to merge text with an image and it's working fine. But when I use this code with Facebook app, it doesn't show any output. Can anyone please help me sorting out the problem? As far as I believe, the problem is with this…

Anurag
- 141
- 1
- 3
- 12
0
votes
1 answer
Leak due to CreateImageRefFromTileData
does somebody know what CreateImageRefFromTileData is about? It seems to be related to MapKit because it's occuring in a UIViewController where I display a map with some location-pins. Nothing more.
But I've no further guess where it's more deeply…

andi1984
- 676
- 10
- 27
0
votes
1 answer
Create an Amazon AMI form the Snapshot using .net c# sdk
I can see 2 places from where an image can be created 1. from instance 2. from snapshot
Through .net sdk, i can create the image from option 1 but could not find a way to crate an image from the snapshot using sdk. Do someone have any idea about…
0
votes
0 answers
merge multiple images and text into single image but not able to arrange properly
How can I arrange a dynamic image?
its working fine but i need to put jd logo on upper left corner
and when i do that black color appears
code that i am using currently
createimageinstantly();
function…

Shabbir Lokant
- 1
- 5
0
votes
2 answers
Recreating modified Docker image
I need to make modifications in Kibana interface, like changing the logo etc. To do this, I need to make modifications in it's docker image that I am using. What would be the right approach? How do I rebuild this modified image?
I have tried to pull…

ShilpaT
- 1
- 4
0
votes
1 answer
Create image from data placed in table (PHP)
I want to create an image from the data I placed in a table.
My code so far:
$out = "
";
header('Content-type: image/png');
$png_image = imagecreate(50, 500);
$tcol = imagecolorallocate($png_image,…
There will be data |

Feralheart
- 1,881
- 5
- 28
- 59
0
votes
1 answer
How to create an image using images with FFMPEG?
How to create an image using images with FFMPEG? Something like below?
-f lavfi -i color=c=white:s=1080x1920 -loop 1 -i 1.png -loop 1 -i 2.png -filter_complex [0:v][1:v]overlay=shortest=1:x=0:y=0[v1];[v1][2:v]overlay=shortest=1:x=10:y=10 -vframes 1…

nzackoya
- 356
- 2
- 8
0
votes
4 answers
Image.createImage problem in J2ME
I tried this on J2ME
try {
Image immutableThumb = Image.createImage( temp, 0, temp.length);
} catch (Exception ex) {
System.out.println(ex);
}
I hit this error:
java.lang.IllegalArgumentException:
How do I solve this?
Michael
0
votes
1 answer
join seperate image into single one on web
I am doing a temperature geographic online chart, and I have some problems when I try to display the color of each region on the map.
For example, if some region has temperature higher than 40, it will display with the Red color on the map, or if…
user1162069