Sathwikchowdary commited on
Commit
ff9820a
·
verified ·
1 Parent(s): 8505e48

Update pages/Info _of_Image.py

Browse files
Files changed (1) hide show
  1. pages/Info _of_Image.py +2 -14
pages/Info _of_Image.py CHANGED
@@ -114,20 +114,8 @@ col1, col2, col3 = st.columns(3)
114
 
115
  with col1:
116
  if st.button("Color Space"):
117
- st.markdown("<h2 style='text-align: left; color: Black;'>What is Colour Space?</h2>", unsafe_allow_html=True)
118
- st.markdown("Color space refers to the specific organization of colors, which helps in the reproduction of color in both physical and digital environments.Common color spaces include RGB, CMYK, and HSV. Each color space has different uses and is based on distinct principles.")
119
- st.markdown("<h3 style='text-align: left; color: Black;'>RGB (Red, Green, Blue):</h3>", unsafe_allow_html=True)
120
- st.markdown("This color model is based on the way human vision perceives light. In RGB, colors are created by combining different intensities of red, green, and blue light. It is primarily used for screens and digital displays like monitors and televisions.")
121
- st.markdown("<h3 style='text-align: left; color: Black;'>CMYK (Cyan, Magenta, Yellow, Key/Black):</h3>", unsafe_allow_html=True)
122
- st.markdown("The CMYK color space is used in color printing. It relies on the subtractive model, where colors are created by subtracting light through layers of ink. When combined in various proportions, CMYK creates a wide range of colors.")
123
- st.markdown("<h3 style='text-align: left; color: Black;'>HSV (Hue, Saturation, Value):</h3>", unsafe_allow_html=True)
124
- st.markdown("This model is often used in graphic design and image processing, as it aligns more closely with how humans perceive color. It allows for easier manipulation of color through hue (the type of color), saturation (the intensity), and value (brightness).")
125
- st.markdown("Each color space is suited for different applications, depending on the medium and technology used. Choosing the correct color space is crucial for ensuring that colors appear as intended, whether you're working with digital graphics, web design, or printed materials.")
126
- st.markdown("<h2 style='text-align: left; color: Black;'>Splitting and Merging the Image Colors</h2>", unsafe_allow_html=True)
127
-
128
- if st.button("Video Creation"):
129
- st.markdown("Video creation is used to generate a video from images or frames")
130
-
131
  # Add a link to the code
132
  st.markdown(
133
  "<p style='font-size: 16px; color: White;'>"
 
114
 
115
  with col1:
116
  if st.button("Color Space"):
117
+ if st.switchpage("pages/sub_pages./Colorspace.py")
118
+
 
 
 
 
 
 
 
 
 
 
 
 
119
  # Add a link to the code
120
  st.markdown(
121
  "<p style='font-size: 16px; color: White;'>"