Questions tagged [dynamic-image-generation]

Generating images programmatically such as thumbnails, snapshots, graphics

Generating images programmatically according to multiple variables

88 questions
1
vote
1 answer

Generate an image from arbitrary strings

I've seen plenty of image to ascii art converters, but what I need is a little more complex. Instead of a mosaic image created from ascii chars I need to be able to use a predefined set of strings of arbitrary lengths as my mosaic tiles. I've done a…
1
vote
1 answer

Retrieve CImage Object from raw image data stored in database as blob data type

I am developing an application where in I am storing .png image to database(SQLite3 used), now as per my requirement, I want the image to be displayed with the ListCtrl Items, so what i need is to Create a CImage object from the blob data retrieved…
A B
  • 1,461
  • 2
  • 19
  • 54
1
vote
1 answer

Possible to execute javascript on PHP image rendering script?

I need to create a php script that renders an image... no problem. However, what i'd like to do is have the image rendering script trigger some javascript code whenever the script is started up. Is it possible to include javascript code within the…
Brds
  • 1,035
  • 3
  • 17
  • 37
1
vote
1 answer

BufferedDynamicImageResource cached by browser

To display a dynamically loaded image in my webapp I'm using a BufferedDynamicImageResource. (It just loads the image from a backend server based on an database id.) The URL of the image resource ends up…
aioobe
  • 413,195
  • 112
  • 811
  • 826
1
vote
1 answer

Refreshing Dynamic Images Using jQuery

I'm trying to create a list of twitch.tv streams that pulls online/offline status every 60 seconds and returns an image based upon that response. The php code I'm using to pull this information and return the image is below:
billhinz
  • 11
  • 1
1
vote
1 answer

Apache rewrite regex specific

I am trying to redirect a URL that looks like this: http://getdotastats.com/sig/28755155.png To one that looks like this: http://getdotastats.com/sig/?aid=28755155 The first URL being the imaginary one that does not exist. The regex I cam…
user2470736
  • 25
  • 1
  • 6
1
vote
1 answer

Displaying text content on a PHP image, using text from another site

I have a dynamic image coded in PHP, which is supposed to serve as a display for statistics, using an external site. Each statistic will be displayed using the following general code: …
Hiigaran
  • 829
  • 10
  • 28
1
vote
2 answers

php cannot be displayed because it contains errors

I am getting the following error when I run my script php cannot be displayed because it contains errors The script, takes a file, resizes it outputs it to screen and a file. url_example: localhost/testimage.php?img=img_592_121_200.jpg I have read…
rudy
  • 311
  • 3
  • 14
1
vote
4 answers

php print and save a div as .jpeg

Possible Duplicate: How to save webpage as a image file using PHP? i want user to enter few inputs then when he is done click save all his inputs are sent to a php file that save these inputs and responde with a new printable page that have a…
Zalaboza
  • 8,899
  • 16
  • 77
  • 142
1
vote
1 answer

Any bigger fonts for php?

As described here you can use imageloadfont (file) to get a font in PHP, e.g. for writing onto a generated image. Now I was wondering where to get such files for fonts, like is there some sort of converter around to convert from "normal" fonts to…
Wingblade
  • 9,585
  • 10
  • 35
  • 48
1
vote
1 answer

htaccess rewrite. Serve .php file when .gif is accessed

I have a dynamic image, which I wish to serve looking like a static image. e.g. Current url of the image is http://site.co.uk/media/dynamicImage.php I wish for the image to be accessed using http://site.co.uk/media/dynamicImage.gif How do I use…
Gravy
  • 12,264
  • 26
  • 124
  • 193
0
votes
1 answer

Live Thumbnails/Large Image

Is there any way to get a certain thumbnail generated by PHP from a live given URI? I also would want to do this for the live on click image.
Jess McKenzie
  • 8,345
  • 27
  • 100
  • 170
0
votes
1 answer

Java Webapplication works from netbeans but not in "stand-alone"

i've created a rather simple Web application for demo purposes. It works perfectly fine when running it from netbeans (using tomcat). there is a search form and a search results display page. The search result display page uses AJAX with JQuery and…
beginner_
  • 7,230
  • 18
  • 70
  • 127
0
votes
0 answers

next-api-og-image works in development but not in production with netlify

I wanted to create dynamic social images for each article of my blog. I am building the website with Next.js and I saw this plugin (next-api-og-image) to create dynamic images. I tried it and while in development everything was fine…
0
votes
0 answers

How to generate preview of a design area for e-commerce product so that customer can preview it?

I have built an e-commerce website. There is a product customization feature. Just like on the sample image. I need to implement the preview feature that is seen on the sample image. While a customer designs his own coaster it should be updated on…