Questions tagged [dynamic-image-generation]

Generating images programmatically such as thumbnails, snapshots, graphics

Generating images programmatically according to multiple variables

83 questions
16
votes
3 answers

How to repeat image horizantly in dynamic creation in ios

Could any one help me i want to add same image multiple times horizontally with same height and width. Important thing is i am creating image view dynamically i want to use same image view for all images! This is image i want to make horizontally…
Vijay
  • 299
  • 4
  • 17
12
votes
6 answers

Programmatic "fuzzy" style background for UIView

Of course, it's trivial to set a plain color for a background: These days, instead of using "plain gray", it is popular to use a "fuzzy" or "cloudy" background, as a design feature in apps. For example, here's a couple "fuzzy" backgrounds - it's…
Fattie
  • 30,632
  • 54
  • 336
  • 607
7
votes
4 answers

Website Screenshot (HTML5 Canvas / Services)

Alright all, Been doing a bit of research and want to know if anyone else has tried this... and what approach would you take. I'm planning on doing a website which will display a screenshot of a website (maybe based on the url in someones email…
Von Schmytt
  • 463
  • 2
  • 6
  • 15
7
votes
2 answers

How can I generate image with Nodejs

I've made dynamic image generate service like this https://dummyimage.com/ by PHP. now I'm thinking of make a dynamic image generator with nodejs. but it's not as easy as thought. what kind of module can I use for dynamic image generate?
superjang
  • 71
  • 1
  • 1
  • 2
6
votes
1 answer

Is there anyway to make one image out of 3 image URLs using asp.net mvc?

I would like to build a facebook application similar to nametest or Meaww and almost succeeded to have my API calls to Facebook Graph API and return data from facebook. What makes me confused is the UI of aforementioned web applications. When you…
4
votes
1 answer

How to parse a JPG as PHP and return a JPG

I have a dynamic image I'm trying to create, which previously worked on one web host, until I found out they removed some features, some of which broke my image. I recently moved to hostgator, and I can't get the image to work on their site either.…
superriku11
  • 41
  • 1
  • 4
4
votes
1 answer

Dynamically create image from JAX-RS servlet

Is it possible to create a PNG image and output it straight to the browser as part of a JAX-RS resource? Something like this: @Path("img/{externalId}") @Stateless @Produces({"image/png"}) public class MyImgResource { @GET public Response…
Hank
  • 4,236
  • 5
  • 39
  • 76
4
votes
2 answers

imagerotate with alpha color not work

I have a strange situation. it looks like background not always transparent, but on some degree it broken... here is the code: $angle = !empty($_GET['a']) ? (int)$_GET['a'] : 0; $im = imagecreatefromgif(__DIR__ .…
Subdigger
  • 2,051
  • 3
  • 19
  • 41
4
votes
2 answers

Creating a live tile for WP8 with dynamic image from control throws a "NotSupportedException"

I'm using the following code to take a custom user control, make a bitmap out of it, and then save it to isolated storage for the purposes of a WP8 Live Tile. public static void UpdateTile() { var frontTile = new LiveTileRegular(); // Custom…
4
votes
2 answers

imagettftext(): calculate font size to ensure text fits image width

I'm using imagettftext() to write dynamic text on an image and I want it to fit my image width. How can I calculate the font size by the text lenght?
Asaf
  • 91
  • 1
  • 1
  • 8
3
votes
2 answers

Is there a PHP library for drawing text as a vector outline?

In PHP, it's quite easy to use GD to draw text onto a raster canvas in a certain font (according to a TTF file held on the server), and output it as a PNG or JPEG. I want to do roughly the same thing, but to draw the text as a vector outline and…
callum
  • 26,180
  • 30
  • 91
  • 142
3
votes
2 answers

Superimposing a php-Generated Image on another image

I have a background jpg image on disk on which I want to superimpose a php-generated png image. Unfortunately, GD's imagepng() function outputs the data directly, so I can't store it in a variable to copy it using imagecopy() or imagecopymerge(). I…
rayvd
  • 113
  • 1
  • 2
  • 10
2
votes
1 answer

Chart image generation based on historical data?

I was thinking about a back-end process that I can run once per day and generate/save to disk chart images similar to this: Can this be done in Java or is there any other method that I am not familiar with? Thanks!
1
vote
1 answer

PHP Using imagegrabscreen

How could I use imagegrabscreen to get a thumbnail image and a full size image of a specific website. I was thinking that I could have an array that I feed the wanted uri's into but I am a bit stuck on how I would set the wxh of the image I need to…
Jess McKenzie
  • 8,106
  • 26
  • 95
  • 159
1
vote
2 answers

Serving dynamic content from Mongo GridFS via Nginx without a 404 error

I have a dynamic content controller in CodeIgniter that pulls images from GridFS. The server is running nginx and I am trying to set the cache control headers in my nginx config to cache the images served by this dynamic content controller for 7…
1
2 3 4 5 6