Questions tagged [dynamic-image-generation]

Generating images programmatically such as thumbnails, snapshots, graphics

Generating images programmatically according to multiple variables

88 questions
0
votes
2 answers

Calculate how many elements will fit on image when spaces are involved

I need to render N items that are x pixels wide with N-1 spaces y pixels wide between them. I need to calculate how many items will fir on the screen. What I'm doing is rendering an array of amplitudes as columns. This is my test produce without…
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
0
votes
1 answer

Loading dynamic images from a public website on a private server

I am trying to load images from a private server to which I have access. When loading from the private server, it is throwing errors, although it works fine when I have tried using a local folder. My code snippet is below: import React, { Component…
0
votes
1 answer

Dynamicimage saving black on IIS

After reinstalling my computer with new windows, an problem occurs with an existing website routine that runs in my computer/IIS. Using the library DynamicImage (https://github.com/tgjones/dynamic-image) my routines always worked but now saves the…
0
votes
0 answers

Generate a poster image from Spring

I want to create a Spring view that will take an object from the request, and generate a .png poster based on that object. Is there an existing View technology for that?
f.khantsis
  • 3,256
  • 5
  • 50
  • 67
0
votes
1 answer

How to generate a custom image for facebook crawler?

My web site is able to show user listings in a nice way. On the page, among other things, I display a material design sheet like this (an image, some text and some dynamic parameters of the listing): When Facebook crawls this page, I would like to…
0
votes
0 answers

Show image based on date in a web page

I am totally new to javascript & I have a challenge from my professor due tonight to create a web page that shows the last three days' worth of pictures in a folder I have. My professor is mean and won't help me & I'm digging through StackOverflow…
0
votes
1 answer

bootstrap dynamic image generation sets width=

I am converting a site under development to bootstrap. On one of my pages I dynamically create an image based on user input. I start with a page like this: And after : The user clicks on one of the magazine covers and a new image is generated in…
0
votes
1 answer

Generate a Photographic mosaic from a given set of thumbnails

Photographic mosaic is a technique of re-generating an existing image as a mosaic of thumbnails. The color of the original pixels should roughly resemble the color of the covering tile. For example, a role-playing gamer re-generated the world map…
Adam Matan
  • 128,757
  • 147
  • 397
  • 562
0
votes
1 answer

PHP - Dynamically creating a svg with embedded fonts

I want to dynamically create an svg that I can use in an tag. This in itself is easy; create an svg, set the header and echo the generated parts in their correct place. The problem is, I want to be able to embed fonts in the svg. I've tried…
M. Salman Khan
  • 608
  • 1
  • 6
  • 16
0
votes
1 answer

Generate preview images with custom text?

I´m working on a webshop where you can personalize Glasses, Pens etc. with gravures... We also want a "Preview" function like in this shop (click on…
Lorenz Wöhr
  • 855
  • 3
  • 14
  • 22
0
votes
3 answers

How to programmatically generate a ring/annulus with varying blocks of colors

A picture is worth a thousand words... I'd like to know how to be able to generate an image like that where (1) the two circles are obviously perfect circles, (2) I can define the beginning and ending parts of each region in terms of angles, e.g.…
user3721976
0
votes
0 answers

PHP Dynamic Image Creation size - Calculate necessary Memory allocation

I am using imagecreatetruecolor() to create PNG images in PHP. I often need to increase my memory_limit via an ini_set() based on the size (dimensions in pixels) of the image. So far it has been trial / error on how much memory should be allocated…
0
votes
2 answers

Android GridView slow scroll, then very fast scroll

I have a GridView with thumbnail images loaded in a separate thread. After all the thumbnails are done loading, if I scroll the grid view it's consistently slow (~5fps), until I scroll a few rows down, then it immediately scrolls extremely fast…
manixrock
  • 2,533
  • 4
  • 24
  • 29
0
votes
1 answer

Getting gibberish while returning image from php

I am using this code to generate barcode and i want to display it using ajax
Cody
  • 2,480
  • 5
  • 31
  • 62
0
votes
0 answers

DynamicImage filters affecting multiple layers

I'm using Tim Jones's fork of the DynamicImage library on a background task in C#. dynamic-image Everything works great, with the exception of isolating the layer effects. In the example below the filters from "firstLayer" are also applied to…
INNVTV
  • 3,155
  • 7
  • 37
  • 71