All Questions
949
questions
-1
votes
1
answer
39
views
Image contained in parent element using tailwind flexbox layout
I have a template layout using flexbox and tailwindcss. I am trying to superimpose svg onto an an image and confine them to the max size of parent container. The image and SVG need to be responsive. ...
0
votes
0
answers
16
views
I'm using the SvgUri package to render images. But not able to see while the app taken but connected via usb is working
This how I have imported
import Detail_R_Arrow from '../assets/images/detailRarrow.svg';
export {
Back_Arrow,}
This is my import statement
import SvgUri from 'react-native-svg-uri';
This how I ...
-1
votes
1
answer
45
views
JS: Accessing paths on loaded SVG image, to change colours, before drawing to document
I have an svg that has multiple paths inside that I want to manipulate the colours before drawing into the document:
In the SVG I have
<path id="pathHair01" ....
<path id="...
0
votes
1
answer
31
views
SVG needs to be 100vh but it excedes it in large and medium screens
Im creating a website,and i also created an SVG using adobe illustrator, for it to be the background or the whole image really to that website.
The thing is that, when emulating a phone or an ipad ...
3
votes
1
answer
60
views
How do I use an SVG image in a webImageControl, tms web core
I am trying to put a phone SVG image into a TWebImageControl in the .pas unit.
I tried adding the image to the TWebImageControl with code that executes on the creation of the application.
PhoneWIC....
0
votes
0
answers
33
views
How to preload <image />s embedded in SVG element
In my nextjs app, I'm fetching a list of strings, that contain embedded <image/> elements. The embedded image sources are external urls.
Example: <svg><image src="https://example....
0
votes
1
answer
37
views
Issue with Visibility of DrawingImage in WPF Image Source
I'm encountering an issue with a DrawingImage not being visible in the designer or during run-time within a WPF application. Here's the setup:
MainWindow.xaml
<Window.Resources>
<...
0
votes
0
answers
59
views
XmlParserException (XmlParserException: ">" expected at 77:21) in flutter
I got an error with SggPicture.network(). I displayed them on screen but throw error on debug console for per SvgPicture.newtork(). I had used flutter_svg package.
I saw flutter:
unhandled element &...
0
votes
1
answer
39
views
svg auto-scaling with fixed canvas size between end-user resolutions
I have a Power BI which I'm using the HTML Content visual to generate a .svg image. By default, the canvas is 1280x720 for maximum compatibility (this I cannot change). The .svg was created in Canva,...
0
votes
0
answers
22
views
Convert svg to edge image
One popular way to generate an edge image from an input image is to use a edge detect networks.
But if I have a svg image, converting it to png and generate edge image using networks will lose ...
1
vote
0
answers
47
views
Clip image inside of enclosed letters
I'm trying to clip an image inside of a letter/number (in this case 0).
This can ofcourse be hardcoded with a simple clip path, but this will make responsiveness and text size a lot more complicated ...
1
vote
1
answer
397
views
How do I import svg images with passed names via props in Astro?
I have a component where I assign title, description and image from a prop. I am using a JSON Array to iterate over to create multiple instance of this component and add images.
I have two problems ...
1
vote
0
answers
55
views
Reduce grid width using matplotlib and saving as SVG or PDF
To generate a PDF with high-quality images, I saved my matplotlib plots in vectorial formats such as SVG and PDF. However, when I embedded the images in my LaTeX document, the grid appeared wider than ...
0
votes
1
answer
109
views
Github pages can't find svg files (Error 404)
I develop React.js projects via Vite. I have tags whose sources are SVG files. I address the tag below and it works on the local host:
<img src={`./static-job-listing/sass/${job.logo}`} alt="...
0
votes
0
answers
17
views
Mapping a string value to an image causes, image to rendered as absolute path
How can I convert an image to a relative path,
I have used an object to map a string to an image. like this.
flags/index.ts
import ad from './ad.svg';
import ae from './ae.svg';
import af from './af....