Closed jueqing1015 closed 1 year ago
- How does the image "specify" a rectangular area.
- What does that mean?
- Not sure what you want. See: pixMirroredTiling(), pixAddMirroredBorder() @DanBloomberg As shown in the following figure: the area in the figure is filled with red. How should this effect be operated?
As shown in the following figure: how to merge the above two figures into the following one?
(1) If you specify a region as a Box, for 32 bpp use pixSetInRectArbitrary(pix, box, val), where val is a 32-bit RGB pixel. See pixPaintBoxa() for a more general approach.
(2) pixRasterop() is your friend for putting arbitrary rectangular image regions on other images.
Issue appears to be resolved
I want to perform several operations on images. What interfaces do I need to use? Thank you very much!
Fills the rectangular area specified by the image with color
Overlap one graph to another somewhere
The image is horizontally and vertically mirrored