1,497
questions
1
vote
1
answer
106
views
Slight Misalignment Issue on Stitching Images Together in Grid-Like Manner
Slight Misalignment Issue on Stitching Images Together in Grid-Like Manner
I am trying to create high res composite images of rugs, with all parts in focus. For this the best approach I figured out ...
1
vote
1
answer
123
views
Extend image with blurred frame using ImageMagick?
I'd like to make certain images larger by adding a blurred frame (consisting of the image itself). Would like to do that using ImageMagick.
Sort of like what https://pinetools.com/blurred-frame-images-...
0
votes
0
answers
20
views
Dynamically Generating Images from HTML/CSS Templates with Custom Data
I have a collection of banner templates (written in HTML and CSS) stored in a database. Each template contains placeholders for a logo, a heading, and a subheading area. I need to dynamically generate ...
1
vote
1
answer
31
views
Filling hole to remove text in especific position?
I'd searching for a way to remove a text (watermark) for image that are always the same text and in same position (diagonal).
I´ve found some similar questions and in some suggests to fill holes in ...
0
votes
0
answers
80
views
How to determine the scale factor of image if I want an exact size in bytes
So I would like to store images which are uploaded to an API. However there is a constraint that I don't store images above 1MB, but resize them in order to be lower than 1MB.
I have a very basic ...
0
votes
0
answers
23
views
Way to prevent canvas context.putImageData() from manipulating image data?
I am trying to manipulate pixel data as seen in the following example. And my goal is to safe the manipulated data into a new image.
Manipulating already works, but when I try to save the image data ...
0
votes
0
answers
56
views
Reproduce Photoshop warping effect accurately with ImageMagick
I'm trying to distort an image using ImageMagick that will reproduce an effect in that was done in Photoshop.
Trying various approaches but nothing quite matches the original very closely, which is ...
0
votes
0
answers
65
views
Selected cropped area not used when cropping some images in TYPO3 backend on the server
Problem:
In a TYPO3 v11.5.33 project on the server, when I manually crop some images from the TYPO3 backend, the selected cropped area is not used/respected after I save the Content Element record ...
0
votes
2
answers
194
views
Imagemagick: transform portrait and landscape aspects to square images (with blurred stripes)
To convert a landscape image to a square with blurred edges I'm using the following command:
magick input.jpg -fuzz 15% -trim +repage \( -clone 0 -resize 100x`identify -format "%[fx:w/h*100]"...
1
vote
1
answer
153
views
how can I make this cover look like a real book?
I liked this book design in iBooks and have been wondering can it be easily made with flutter?
What i want :
original
i try this :
Container(
width: 150,
height: 200,
decoration: BoxDecoration(...
0
votes
0
answers
510
views
SkiaSharp resizing image - high memory usage
We are using .NET 7 web MVC application and SkiaSharp 2.88.5. We have LoadImage controller action which receives imageId and scaleFactor parameters and scales the image according to the scaling factor....
1
vote
1
answer
295
views
Invert black and whites while preserving colors
I have this PDF that I'm converting to a UIImage and rendering in Image:
https://static.avalanche.report/bulletins/2023-05-01/2023-04-30_15-00-00/EUREGIO_7aafd765-0541-4abf-92f0-efc18d6efbf7.pdf
I ...
0
votes
1
answer
281
views
Expo ImageManipulator won't return desired result
I'm trying to use Expo ImageManipulator to resize an image selected from device.
The result I'm getting is a weird object like this, so it doesn't work:
{"_h": 0, "_i": 0, "...
0
votes
1
answer
189
views
ImageMagick fill color with pattern
I want to replace specific colours with some patterns using ImageMagick.
I have a simplified example of what I would like to do.
Here I would like to replace the red colour with the pattern pattern:...
0
votes
1
answer
91
views
Is there any way to see the date on which an image was taken in Next.JS
I'm creating a photo gallery application using Next.JS, AWS S3, ImageKit and MongoDB. For a bit of context, I already had a photo-gallery app made, but it relied on an external express.js API that I ...
0
votes
0
answers
488
views
Incorrect Offset Scaling While Moving an Image Horizontally in Jetpack Compose Box
I am developing an Android application in Kotlin using Jetpack Compose, where users can upload an image, move it around (including zooming in by pinching with two fingers), and get the color of the ...
1
vote
0
answers
85
views
App crashing when swapping image - expo app react-native
below is the code that keeps crashing the app when it is ran
ImageManipulator.manipulateAsync(
flippedImageUri,
[
{
crop: {
originX: swappedFaceX,
...
0
votes
1
answer
63
views
Imagemagick: fill white color dimension taken from GIMP
Say there is a following image. I'd like to fill the part with letters ry with white color (ry is an example for a question). It can be done by the following command:
mogrify -fill white -draw "...
0
votes
0
answers
235
views
Python: AttributeError: 'Page' object has no attribute 'write_javascript'
I am learning python. trying embembed a image into pdf file. But not sure why got this error after running this file
Code is:
import fitz
def embed_js_in_pdf(pdf_file_path, js_code):
doc = fitz....
0
votes
0
answers
24
views
When I tried to convert the PDF to an image, the resulting image can be different from the original PDF
When I tried to convert the PDF to an image, the resulting image can be different from the original PDF.
This is my pdf
this is convert pdf to image output file
The resulting image may have a ...
1
vote
0
answers
41
views
How to image zoom on ManipulationOrigin with LayoutTransformation and scrollviewer (WPF C#)
I'm working in a WPF project where I have to zoom an image, hence scrollviewer is needed when the image is zoomed.
I have achieved the zoom with delta manipulation matrix etc.
The problem is, using ...
0
votes
1
answer
132
views
Imagemagick: Mask mutliple images using black-and-white mask [closed]
I have a series of black-and-white images, like this:
ImageMagick converts thems to mask, using connected-components
magick *.png -define connected-components:area-threshold=130 -define connected-...
0
votes
1
answer
513
views
Imagemagick: How to remove grid lines and dark regions from an image?
I have a microscopic image with grid of straight lines (not vertical or horizontal).
I know that ImageMagick have -hough-lines operator that can detect straight lines. How to use it to remove such ...
0
votes
0
answers
110
views
Imagemagick: Remove blured background from a sequence of images
I have a sequence of images {image_0001.png, image_0002.png, ...} from which i'd like to substract a blured background using ImageMagick.
The one of the source image.
It is its blured version.
To ...
0
votes
2
answers
2k
views
Imagemagick: How to improve the brightness/contrast of an image with a narrow histogram?
I have a dark image which histogram lies in a tight group.
In image editor I can convert image int HSL colorspace, separate L channels and make histogram adjustment.
Is this the right way? Which ...
1
vote
2
answers
225
views
Imagemagick: Are there any operators that could convert all spots on b/w mages into pixel placed at geometric center?
I have a huge set of black and white images with spots and want to replace every spot into pixel (or small circle) that is located in the geometric center of the spot.
Because the spots has different ...
1
vote
0
answers
145
views
OpenCV stitcher ignores additional image
As a follow-up to the closed question ' How to update a part of a panorama ' I have come up with an approach but OpenCV doesn't behave the way I want it to. To be more exact:
I have a panorama of ...
1
vote
0
answers
37
views
Make Image Manipulation php [duplicate]
Can somebody help me to show the problem of my code? This is the output when I write this code:
In this case I have installed GD on php
enter image description here
<?php
//create the canvas
$...
0
votes
1
answer
424
views
Mapping an image to a quadrilateral in p5.js without using WEBGL
I'm trying to map a custom image to a 4-sided quad with a non-rectangular shape in p5.js. I know this is possible(and quite easy) using a WEBGL canvas and the texture() command, but I'm trying not to ...
1
vote
0
answers
276
views
How can I composite images whose sizes exceed Safari's canvas size limit (2^24 pixels) side-by-side?
In my vuejs app, I have a need to composite multiple images (available as base64 png sources) into a single one. For all other browsers, my current approach of using canvas's drawImage and toDataURL ...
2
votes
0
answers
681
views
3D image transform in opencv
I have a 4x4 homogenous transformation matrix I want to apply to an image in python. I found cv2.warpAffine for 2d space but can't find an equivalent function for the same task in 3d space. I am ...
1
vote
1
answer
1k
views
Python collage of four image together
I am trying to combine 4 images, image 1 on top left, image 2 on top right, image 3 on bottom left and image 4 on bottom right. However, my images are different sizes and not sure how to resize the ...
0
votes
0
answers
41
views
Bitmap image not accepting pixel array values
I am working on a simple image manipulation image library and i am creating 1 bit per pixel images with it. I am taking the help of the Wiki page. I am using the BITMAPINFOHEADER and i am making the ...
0
votes
1
answer
854
views
How to mask an image with another b/w image in NodeJS?
So I want to mask this image
with this image
which will result in this image
How to do this in NodeJS?
0
votes
0
answers
250
views
Low Text Resolution/Text isn't clear on Image in Python Pillow/PIL Library
I am a beginner in Pillow. Basically, I am doing some basic image manipulation task but when I add text to an Image, the text resolution gets break.
Below is my code and image attached.
from PIL ...
3
votes
2
answers
857
views
Can ImageMagick generate multiple outputs from one input?
I'm running this from the command line:
magick.exe input.png -shave '1x0' output_%d.png
magick.exe input.png -shave '2x0' output_%d.png
magick.exe input.png -shave '3x0' output_%d.png
magick.exe input....
0
votes
1
answer
101
views
How to manipulate an image to add border to it in Flutter
Which Flutter image manipulation library to use that offers the ability to add a border to the actual image before saving it?
(Not just printing the border around it on screen)
I couldn't find any on ...
0
votes
0
answers
136
views
ImageMagick way too slow drawing text
I've got ImageMagick drawing dots with coordinates on an image, but it's terribly slow.
For context, I'm making a program to move the mouse cursor by typing two keys.
Here's my script:
#!/bin/bash
...
0
votes
1
answer
1k
views
Node sharp image combine without repeating
I'm using node sharp image manipulation library to combine two images .One image is small and I want to add it to the top left of larger image.
This is the code I'm using
const output = await sharp('...
0
votes
1
answer
60
views
Perspective + montage with overlap of multiple images at the command-line
I have a collection (of variable size) of rectangular images (frames extracted from a source video file with ffmpeg), and am trying to find a way to automatically generate a "filmstrip" at ...
0
votes
2
answers
530
views
Using ImageMagick, how can I resize an image to have minimum height or width, which ever is reached first
https://imagemagick.org/Usage/resize/
I do not quite understand how I can resize images to have either a minimum of for example 1000px height OR 1000px width, whichever is reached first, but at the ...
1
vote
1
answer
85
views
How do I change object shape by iteration/permutation?
I am a design student and have been given the task to create a grid of shapes in illustrator by permutation (I would say it´s iteration but then again I have little programming experience). You can ...
1
vote
0
answers
1k
views
How to warp an image to an irregular shape in python?
I wanted to know how to warp an image into a irregular shape. Right now, I have this design (image 1) and want to warp it into the shape shown in the mask image (image 2). Given that I have points of ...
0
votes
1
answer
585
views
Crop Manim Animation to Match Content Size
For the following Manim code, I would like to (automatically) produce an animation that only contains the equation eq with no empty space surrounding it. How can I accomplish this?
from manim import *
...
0
votes
1
answer
344
views
Is there a way to post a link with a dynamic image to Twitter?
This may not be the best place to ask, but I've tried multiple other resources, and my searches have led me here.
I am trying to create a link that, once posted to Twitter (or another site) randomly ...
0
votes
1
answer
101
views
Palette Mapped Surface view or Heat Map help n GNUPLOT
I have a data set of average RGB values derived from an image. The image is 1729 x 981 and I've used imagemagick to average each 170x98 pixel section and output a CSV with the data. this gives me ...
0
votes
0
answers
623
views
How do I compare two images and transform them to match?
I am taking two similar images and putting one on top of the other as semi transparent overlay.
What I'm trying to achieve now is to compare the difference between them and transform (scale, crop, ...
1
vote
1
answer
120
views
How color Calibrate image (jpg/png) with Reference Color in C# using colormatrix
I have image which has object for reference.
e.g. Rectangle at a particular position.
For (Rectnangle) we already have it's ideal/reference color values e.g. R=255, G=255, B= 255.
Mean RGB of ...
0
votes
1
answer
842
views
How to place a Marker on a PNG (or any other image format)
I need a lib recommendation or a solution that allows me to place a marker on a PNG, and save the marker location. The marker has to be a html/css element, allowing the user to click on the marker to ...
0
votes
1
answer
1k
views
Image manipulation in React Native?
I need to create a simple mobile app in React Native for manipulate images from the gallery and the camera. I searched it everywhere, but didn't found any proper solution for this, just libraries for ...