Questions tagged [image-clipping]

63 questions
1
vote
1 answer

Clipping polygon image from jpeg image Java

guys! I have some problem. I need cutting some polygon image from jpg image and save it. In this moment I use OpenSlideJNI.openslide_read_region, but OpenSlide can clip the only rectangle. Do you have any idea?
user2257742
  • 28
  • 1
  • 3
1
vote
1 answer

Image clipping by concave polygons on OpenCL

Is image polygon clipping possible directly on OpenCL? Or is OpenGL interoperability necessary for this? If this is possible directly on OpenCL, I think this problem could be reduced to the filling of concave polygons changing the alpha channel; in…
Flaviu
  • 931
  • 11
  • 16
1
vote
1 answer

Create an irregular shaped frame

I've created a canvas within which I display an image that is clipped when it goes over the edges. I can do this fine with a square shaped frame, however the frame I want to use is the one below. Is there any way I can clip the image inside the…
Smikey
  • 8,106
  • 3
  • 46
  • 74
0
votes
1 answer

Smooth image clipping while scrolling

So I'm trying to achieve an affect like the native cropper when you use a PhotoChooserTask. If you aren't familiar, there's an image in the background with a border over top, and the image appears to change opacity when in and out of the border. …
Daniel
  • 73
  • 2
  • 10
0
votes
1 answer

ImageMagick creates a small black border around a clipped image

For our website, we clip images based on a clipping path. Since this needs to be done daily, for a lot of images, we have set up a server on which we run ImageMagick. I noticed that clipped images have a small black border around the product, where…
wd3003
  • 1
  • 1
0
votes
0 answers

transparent border (padding?) on circular image

I am working on a bootstrap html using exclusively inline CSS due to limitations of where it is being created, and I have a circular image with a card underneath using z-index and negative margins. I'd like for the image to have a transparent…
0
votes
0 answers

Making only a small section of a vector drawable visible

I have a large image, based on a vector drawable xml file, and I would like to visualize only part of it in an ImageView, like this (the darker regions would be off screen): Under user control, the image would move around (or rather, the visible…
0
votes
1 answer

SVG Overflow: None (Clip SVG Inside Div)

How do I get the SVG to clip inside its container? I would like the blue circle not to be visible outside the red rectangle (like overflow:none; for divs). Although in this example, the SVG is a circle, in my case, it's a complicated SVG. #text…
lmat - Reinstate Monica
  • 7,289
  • 6
  • 48
  • 62
0
votes
1 answer

How do I make a left and right clipping mask gradient, no indicate that there is more content to scroll?

My inspiration is this (on the top right of YouTube videos) So I found this tutorial on how to do that gradient, I also have an image background so instead of using a gradient color like the tutorial and YouTube I want to make a gradient clipping…
0
votes
1 answer

SVG image with clip-path not clipping properly

I am trying to add a clipping mask to set of images on SVG. But the images are not showing properly.
Pasan Madhushan
  • 205
  • 1
  • 4
  • 10
0
votes
0 answers

Creating a nested for loop clipping function

My old C++ code reads a spritesheet (rows = different buttons, cols = different button states) one row at a time using for loops and divides them into individual sprite clips. All the sprites are the same size. Works fine. Now, I want to put the…
Jeffrey
  • 37
  • 6
0
votes
1 answer

Background image viewport by many-images-in-one-image-file

To reduce the loadtime of my webpage I put all icons into one big imagefile. What I need now is the fourth icon (attachment-icon) as button icon. This is what I have: button.attach { background: lightgray…
Grim
  • 1,938
  • 10
  • 56
  • 123
0
votes
2 answers

How to calculate the clipping area of an image after scaling and translating

I have an image on a canvas and a ScaleTranform and a TranslateTransform attached to the image's RenderTranform. So with a bit of mouse event handling I can move and zoom the image within the 350 by 450 bounds of the canvas. How would I calculate…
Terje
  • 130
  • 1
  • 9
0
votes
1 answer

How to trim a svg image in markdown file

I have a svg file, made by Google Drawings. (The png version is shown below and the svg code is below
aura
  • 383
  • 7
  • 24
0
votes
3 answers

convert rectangular image into Round image

My Objective is to make an image round and display it. If the image is square then i am able to convert it in to round by simply using border-radius:50%property of CSS. But when the image is rectangular then using this CSS property is giving me oval…
Ishan Khanduja
  • 121
  • 2
  • 9