Color profile issues with PNG images - facebook

I posted this here because it's too technical and related to the PNG standard.
I did the following:
Step 1. Open paint, create an image and fill it with color RGB(255, 0, 0) = #FF0000. Save the image.
Step 2. Download tweakpng and remove all Attributes except those marked as 'critical'. By doing this we effectively remove any color profile information. This will make our image to be displayed the same across all browsers (FireFox and Chrome tested) otherwise firefox displays the image as dark red.
Step 3. If I upload this image on facebook, strange things happen. FireFox and Chrome display a dark red color. This happens because Facebook adds a custom color profile to all images uploaded.
Question: How can I prevent Facebook from adding the extra color profile and altering the colors of my image? If this is not possible, how can I modify my image in a way so I get the desired color after Facebook added their color profile?

Here is what happened:
At first I uploaded the image on Facebook without removing the color profile. I deleted the image and then uploaded the new without the color profile.
For some reason the browser cached the old image.
After I restarted the PC and cleared the browser cache... the colors where the ones I expected!

Related

How to change the shape of app icon in flutter?

I am making an app icon in flutter. And I have a problem. I want to make my app icon with square shape. But I am just getting the circle shape icon.
How can i change the shape of the icon?
You can't change the shape of app icon by coding.
So, what you can do is that:
Make a circular icon with it's background transparent
Save it and drag & drop that image file here
Generate the icon, it will download a zip file
Extract the android folder from that (other files are not necessary)
Copy all the contents ("mipmap-" folders) from the android folder (it's basically the different icon sizes)
Go to res folder in your project location -> F:\flutter\project_name\android\app\src\main\res
And replace all mipmap- folder with the new one which has your created logo
This may help you
I think it's set up automatically by Google through Adaptive Icons.
So your app Icon will automatically change based on your device theme, setting, etc.
You don't need to worry about that. All you need to do is provide a square app icon.
In your image, you can look at the YouTube icon. It's basically a square, but because it's adaptive (automatically as long as you set it up correctly), it could transform into several different shapes.
You can read more here, or here.
Yes you can do that. But you need to have sdk higher than 26.
https://www.youtube.com/watch?v=hpQenyqxTmw
After you generate your app icons from: https://appicon.co/, simply replace all folders contained in zip for android with the already existing folders in res directory .
Then go to app>src>main>res
Right-click on res and select new> image asset.
Adjust the icon to how you want it to appear.

How to change the background color of the Settings page and not the Editor?

How do I change the background color of the Settings page, not the Editor, but the Settings page? I know it probably involves changing a workbench.colorCustomization token, but I don't know which one it is or if it even exists. Also, is there some sort of extension that allows you to inspect the UI elements/icons of VS Code?
I have already tried changing the editor.background token, which applied to not just the Editor, but also the Welcome and Settings pages. I was able to change the background color for the Welcome page using the welcomePage.background token, but I don't know how to change it for Settings.
I want the Settings background color to change so I can see it better.
It doesn't look like you can. If under workbench.colorCustomizations you type settings you will get the list of available settings page items of which you can change the color.
Perhaps one or more of the foreground colors to change the text color will help you.
The Custom CSS and JS Loader may allow you to change the color of the settings page. You can inspect vscode's elements by Help/Toggle Developer Tools to find out what element you need to target with that extension.
<div class="settings-editor " or a child of that. Set its background-color to what you want using that extension.

Only able to upload 5 product images

I am only able to see 5 images when adding products. Is there a configuration somewhere to increase this limitation?
I uploaded 10 images. Only 5 is being displayed. If I was the delete an image there one of the other ones that is not showing gets displayed. It feels like it is hidden there.
Looking at it with Chrome Inspector, I see that the other images are set as "hidden"
Any ideas on how to fix this?
It seems like the Product Details tab simply limits the view. However, Images and Videos tab shows all images uploaded.
More information here: How to manage product images in Magento 2? (Add/remove)

Facebook Scraper Shows Tiny Little Icon Image instead of Large Banner Image

I have read many similar posts here and tried the following but no luck:
Replaced og:image with larger image banner (larger than Facebook's required standard)
Commented out the <img> tag of that pencil icon image, yet Facebook debugger still showing that small tiny little icon. When I view source from browser, confirmed that pencil icon has been commented. (NOTE: I've put back the pencil icon image for editing convenience.)
Renamed large image file and update og:image.
Specified og:url of the current page.
All the above not working at all. Can somebody please help? Here is my URL: http://tringo-medical.blogspot.my/. Thanks in advance!
Ok guys, sorry for the impatience -- we just have to wait for Facebook to clear the cache. For my case, I had been waited for almost a week for them to get it cleared, which wasn't in 24 hours as what others claimed. But Facebook shouldn't defeat their own rules either by choosing tiny icon image as the post image. So the solution is to "wait".

Adobe Muse,Mobile,Page layout,Left aligned,Right side gap,

I have created a website using Adobe Muse and have uploaded the site to the ftp server . The website is live and is as designed when looked via a desktop. But when the same site is being viewed from a mobile, the entire page is getting left aligned and there is a gap to the right side. I even made a phone layout and uploaded the same to the ftp server and the problem still persists. Ive googled a lot and inserted html code into the metadata to make the site centered but in vain. Nothing works . I have a tight deadline and would really be grateful for any quick help.
maybe your images are placed in pixels... If I am right
try using a rectangular tool... fill it with image then make the width 100%
to view the sample image click here
The size of mobile layout in muse is fix... I think the mobile you are using have different size... so just start using % on placing the images like the background etc.
There's a setting that was causing my content to be left-aligned in the phone layout.
Click Page > Page Properties
There's an un-marked button to the far right of Padding - click this and set it to centered. By default it is left-aligned.