Tag:black

  • Png background black

    Time:2020-10-21

    The transparent area of the PNG image is filled with black For more daily use of public class operation methods, you can pay attention to the followingSmall pulley website Question: When processing PNG with canvas todataurl, we find that the transparent area is filled with black.Why does canvas turn the transparent area of PNG black?The […]

  • Tadpole diary: through console.log Highly imitated FBI warning

    Time:2020-9-16

    Author: the first tadpole WeChat official account: front end grass root cock wire blog & github: https://github.com/airuikun/blog Late at night, twelve o’clock A dark room, a roll of napkins It was destined to be an extraordinary night 。。。 Tadpole opened the hidden folder in the deep of C disk It lists many obscure file names […]

  • Android changes title bar background and text color

    Time:2020-9-15

    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M){ //Background color getWindow().setStatusBarColor(getResources().getColor(R.color.colorPrimary)); //Black text getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); //White text // getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE); }

  • HTML + CSS + jQuery to realize left sliding and stretching navigation menu bar

    Time:2020-9-9

    PC terminal Mobile terminal code <!DOCTYPE html> <html> <head> < title > left navigation <meta charset=”utf-8″> <script></script> <meta name=”viewport” content=”width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover”> <style> *{ margin:0; padding:0; } #header{ width: 100%; height: 60px; background: #fff; position: fixed; top: 0; } #header .dh_btn{ width: 60px; height: 60px; background: #f00; float: left; cursor: pointer; line-height: 60px; text-align: center; } #header […]

  • The implementation of Python imutils filling image with black surrounding

    Time:2020-6-24

    code import imutils import cv2 image = cv2.imread(”) # translate the image x=25 pixels to the right and y=75 pixels up translated = imutils.translate(image, -75, 75) cv2.imshow(‘original image’,image) cv2.imshow(‘translated’,translated) cv2.waitKey(0) effect reference resources: https://github.com/jrosebr1/imutils The implementation of the above Python imutils fill image with black surrounding is the whole content shared by the editor. I […]

  • [reprint] how does the red black tree come true? It’s enough to read this!

    Time:2020-5-15

    Origin of the red black tree: it was invented by Rudolf Bayer in 1972. It was called the balanced binary B-trees at that time. Later, it was modified into the current red black tree by Leo J. guibas and Robert Sedgewick in 1978. Therefore, the red black tree appeared in the vision of software developers! […]

  • Remove black background and output as transparent background

    Time:2020-5-5

    Recently, I met a need to remove the black background of an image, as shown in the following figure: If we use opencv and some image processing algorithms, we can remove any background. But because this requirement is to remove the black background, it is unnecessary to use some more complex algorithms. So I plan […]

  • JDK source code: red black tree foundation 2

    Time:2020-4-1

    When it comes to HashMap, we must talk about the red black tree. As a self balanced binary search tree, the red black tree is a widely used data structure. In JDK1.8, the red black tree is used to improve the performance of HashMap. Today, when it comes to the red black tree, we have […]

  • Agile coach — how to do homework with children

    Time:2020-1-10

    Author brief introduction   Franz, an agile coach that is neither certified nor agile, let alone coach.   There are always some differences in the life of children, especially when they study and attend training classes. As the saying goes: in the first second, the mother is kind and the daughter is filial. In the […]

  • Windows cannot install. Net Framework 3.5 solution

    Time:2019-10-20

      Windows Server 12r2 or win10 installation. Netframework 3.5 method: First, It can be enabled directly in “enable or disable windows functions”, and networking is required.However, there are often errors. It may be necessary to restart during the installation process, but the machine restart in real-world applications is limited. 2. You can use PowerShell (administrator) […]

  • Solution to the problem that windows can’t install. Net Framework 3.5

    Time:2019-8-26

      Windows server 12r2 or win10 installation. Net Framework 3.5 method: First, It can be enabled directly in “Enabling or Closing Windows Functions” and needs to be networked.However, errors often occur, and reboots may be required during installation, but machine reboots in real-world applications are limited. 2. The following can be installed by PowerShell (administrator): […]