Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

transparency

Turn image sequence into video with transparency [closed]

June 8, 2023 by Tarik

Yes ffmpeg certainly does support alpha channel in a video file. Not all codecs in ffmpeg seem to support alpha yet tho. Motion PNG in a .MOV file is one good combination for alpha. To encode/import images with alpha to a video with alpha try: ffmpeg -i %d.png -vcodec png z.mov Quicktime will play that. … Read more

Categories command-line Tags codec, command-line, ffmpeg, transparency, video Leave a comment

What is the impact of view.alpha = 0 vs view.hidden = YES?

June 1, 2023 by Tarik

I am not sure that a view with alpha 0.0 is still drawn. Check the documentation library: Hiding Views To hide a view visually, you can either set its hidden property to YES or change its alpha property to 0.0. A hidden view does not receive touch events from the system. However, hidden views do … Read more

Categories ios Tags cocoa-touch, ios, transparency Leave a comment

Android Transparent TextView?

April 29, 2023 by Tarik

See the Android Color resource documentation for reference. Basically you have the option to set the transparency (opacity) and the color either directly in the layout or using resources references. The hex value that you set it to is composed of 3 to 4 parts: Alpha (opacity), i’ll refer to that as aa Red, i’ll … Read more

Categories android Tags android, textview, transparency, transparent Leave a comment

Hex colors: Numeric representation for “transparent”?

April 26, 2023 by Tarik

HEXA – #RRGGBBAA There’s a relatively new way of doing transparency, it’s called HEXA (HEX + Alpha). It takes in 8 digits instead of 6. The last pair is Alpha. So the pattern of pairs is #RRGGBBAA. Having 4 digits also works: #RGBA I am not sure about its browser support for now but, you … Read more

Categories css Tags colors, css, rgb, transparency Leave a comment

Transparency vs. White background in Inkscape [closed]

April 17, 2023 by Tarik

You can change the background color in Inkscape by changing the document properties (in the File menu). In particular, you can check ‘Checkerboard background’ to show the checkerboard if the background is set to transparent.

Categories transparency Tags inkscape, transparency Leave a comment

CSS to hide INPUT BUTTON value text

April 15, 2023 by Tarik

I use button {text-indent:-9999px;} * html button{font-size:0;display:block;line-height:0} /* ie6 */ *+html button{font-size:0;display:block;line-height:0} /* ie7 */

Categories css Tags css, drupal, input, internet-explorer, transparency Leave a comment

Seek Bar thumb not transparent in Android 5.0 API 21 Lollipop

April 14, 2023 by Tarik

<SeekBar …. android:splitTrack=”false” />

Categories android Tags android, android-5.0-lollipop, transparency Leave a comment

Creating a transparent window in C++ Win32

April 13, 2023 by Tarik

I was able to do exactly what I wanted by using the code from Part 1 and Part 2 of this series: Displaying a Splash Screen with C++ Part 1: Creating a HBITMAP archive Part 2: Displaying the window archive Those blog posts are talking about displaying a splash screen in Win32 C++, but it … Read more

Categories c++ Tags alphablending, c++, gdi+, transparency, winapi Leave a comment

Can you add a non-square drop shadow to PNG content with CSS? [duplicate]

April 10, 2023 by Tarik

It’s definitely possible. Using filters, sample: img { -webkit-filter: drop-shadow(5px 5px 5px #222); filter: drop-shadow(5px 5px 5px #222); }

Categories css Tags css, css-filters, image, shadow, transparency Leave a comment

Plotting with a transparent marker but non-transparent edge

April 8, 2023 by Tarik

This is tricky in Matplotlib… you have to use a string “None” instead of the value None, then you can just do: plt.plot(x,y2, ‘o’, ms=14, markerfacecolor=”None”, markeredgecolor=”red”, markeredgewidth=5)

Categories python Tags matplotlib, numpy, plot, python, transparency Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page7 Next →

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa