How do I compare two similar images’ sharpness?

Is there a tool that can help you do such thing? Can photoshop do it? Matlab can, but I don’t want to use it.

Background Removal and Colour Restoration on Images FAST for $3

Background Removal and Colour Restoration on Images FAST

Hi there, WELCOME to my profile! Thank you so much for stopping by

I am new on SEO Clerks and my efforts will surely bring you the finest results to suit your taste and requirement. For a LIMITED TIME ONLY I am SLASHING the RATE of my primary offering to ONE-THIRD!

So, HURRY and avail this HUGE DISCOUNT NOW!

My services include REMOVING BACKGROUND from photos and images INCLUDING all of the following:

  • UNLIMITED REVISIONS: I will be your co-scenarist until you are satisfied with the result.
  • RESIZING PICTURES: Should you be unsure whether your picture(s) can indeed be resized feel free to pop me an email with a soft-copy ahead of placing your order.
  • DIGITAL FORMAT OF YOUR CHOICE: The finished image/photo will be returned to you usually in one of the three formats i.e., PNG, JPEG or GIF. However, should you wish to receive one in another SPECIFIC FORMAT not normally used, feel free, again, to email me with with your inquiry ahead of placing your order.
  • TRANSPARENT OR SOLID COLOUR BACKGROUND OF YOUR CHOICE: The final digital image sent to you can either be transparent or have a background colour of your choice.

As an ADD-ON SERVICE I am offering to RECONSTRUCT the COLOUR on your BLACK and WHITE PHOTOS to REVITALISE THEM! This add on service DOES NOT INCLUDE REVISIONS.

.(tagsToTranslate)Background(t)Removal(t)Color(t)Restore(t)Photo(t)Editing

images – How to stop WordPress from completely overriding my tags in my templates?

I’m busy with a WordPress theme and in some templates I use images (like home.php). I do the calculations for the srcset and sizes for every template/image individually and store the urls and values in variables.

It is impossible to have a ‘one size fits all’ approach for rendering srcset and sizes, so trying to override the sizes and srcset like this is impossible. For example, it is possible that the first featured image in home.php has a different sizes than the second featured image.

My code is as follows:

                <div class="amb-home-post-preview thumbnail_container override">
                <img alt="<?php esc_attr( the_title() ); ?>" class="amb-home-post-preview thumbnail override"
                     src="<?php echo esc_url( $amb_post_preview_image_1000(0) ); ?>"
                     srcset="
                        <?php echo esc_url( $amb_post_preview_image_400(0) ); ?> 400w,
                        <?php echo esc_url( $amb_post_preview_image_600(0) ); ?> 600w,
                        <?php echo esc_url( $amb_post_preview_image_800(0) ); ?> 800w,
                        <?php echo esc_url( $amb_post_preview_image_1000(0) ); ?> 1000w,
                        <?php echo esc_url( $amb_post_preview_image_1400(0) ); ?> 1400w,
                        <?php echo esc_url( $amb_post_preview_image_1800(0) ); ?> 1800w,
                        <?php echo esc_url( $amb_post_preview_image_2200(0) ); ?> 2200w,
                        <?php echo esc_url( $amb_post_preview_image_2600(0) ); ?> 2600w,
                        <?php echo esc_url( $amb_post_preview_image_3000(0) ); ?> 3000w
                    "
                     sizes="<?php foreach ($amb_sizes as $amb_key => $amb_val) { echo esc_html( $amb_val ); } ?>">
                </div>

The image urls are retrieved above (I skipped that part), but it’s fairly easy to understand.
The $amb_key variable is the media query and the $amb_val variable is the width (e.g. calc(50vw - 36px).

What happens, is that WordPress skips the complete <img> tag and replaces that with it’s own tag. Classes and all other attributes are lost.

This happens multiple times in different template files. How do I stop WordPress from completely overriding my <img> tags (in template files)?

Many thanks!

seo – Does googlebot index base64 encoded images

I was wondering if google can crawl image like this:

<img src="data:image/png;base64..." title="relevant title" alt="relevant alt" />

I found this link that says no: Base64 encoded images and availability of their metadata for Googlebot

But it’s been 6 years since that post, and I was wondering if things had changed. I want to provide the best user experience for my users, but not at the cost of my ranking.

In my case I have more than 3 million pages which all have “small” images that I would like to embed/inline to increase initial performance of page load, but also these images are well ranked on images and search, I don’t want to loose that.

7 – Optimized images in custom theme

All of the image optimization modules are for images you upload through the admin portal as an Image content-type, but how would one optimize images that are in your images folder in your custom theme?

For example, in my custom theme (based off bootstrap 3) I use an image called hero.png in my page--front.tpl.php file. How would I go about optimizing that hero.png image and then utilize the correct image in my template?

images – What sense makes medium_large_size_h => 0?

WP Version 5.4.2
There is an image size definition of medium_large with size_w = 768 and size_h = 0 –
You can find it near line 530 of wp-admin/includes/schema.php:

// 4.4.0
'medium_large_size_w'             => 768,
'medium_large_size_h'             => 0,

I’m wondering what sense this definition makes?

film – What surfaces have been used to capture images in analog photography?

I’m trying to form a list of the different kinds of materials that have been used in analog photography for the capturing of images. Not necessarily the chemical emulsions, but the ‘surfaces’… for a lack of a better term.

For some context, I am building a website that allows users to upload photographs and identify what camera and film the photo was shot with. However, I now realise that film, whilst being the most common material, is not the only way of capturing images in analog photography, so I need a broad list of alternative options, if say for example they used a large format camera which uses plates rather than film.

So far I am aware of the following

  • Film (including negative, reversal, instant, etc)
  • Plate (glass plate coated with emulsion)
  • Tintype (metal sheet coated with emulsion)

My research hasn’t bought up any other significant variations, (aside from the pioneering 18th century experimentations, which aren’t so relevant to my project) but I wanted to be sure I wasn’t missing anything notable, particularly if it is still in use today, albeit as a niche art form.

Sorry if my terminology is not quite correct or precise – I hope others can help me out here too. Thanks!

file conversion – Is there anyway to have macOS Photos bulk convert all of my past JPEG images to HEIC format?

I’ve seen lots of tutorials online explaining how to convert iOS HEIC files to JPEGs but I can’t seem to find any easy way to bulk convert existing JPEG photos to HEIC?

The reason being is I really like HEIC as a storage format: It easily makes image file sizes 5x to 10x smaller than JPEG equivalents which not only saves space but makes syncing the library to other devices quicker as well.

So I would like to convert all past images in my macOS Photo library to HEIC two take advantage of these benefits. Do any such tools exist? I would like to avoid a bulk export, conversion via non-Photos tools and then reimport because that seems messy.

magento2 – How to delete specific product images from Magento 2 database and physical images from folder?

Deleting selected product / SKU images from Magento 2 database and the physical images files from the media product catalog folders which are dynamically created by Magento during image upload.

  1. Locate the image and image physical path. In the database, the images and the physical path reference of the images are stores in the below 3 tables
  • catalog_product_entity_media_gallery
    //This is where the physical
    image path is stored
  • catalog_product_entity_media_gallery_value
    //This table has the storeid, valueid, product entity id and the
    position of the images
  • catalog_product_entity_media_gallery_value_to_entity //This table is
    where the mapping between the product entity id and valueid mapping
    done.
  • And the images are stored physically under magento2rootpath/pub/media/catalog/product/x/x/x
  1. First step is to identify the physical path of the server and delete from the media –> catalog –> product path, I used the below query to create a file with remove command and the image physical path on the server.

This example was executed on Ubuntu 16.04, the below commands and sql querie. Will run on any Linux distro and Mysql.

Basically create a file with the below command to delete the images,

run the below query on the command prompt.

 - mysql -u username -p databasename -e "select concat('rm -f
   /home/magento2rootpath/pub/media/catalog/product',value) from
   catalog_product_entity_media_gallery  where value_id in (select
   value_id from catalog_product_entity_media_gallery_value_to_entity
   where entity_id in (select entity_id from catalog_product_entity
   where sku in ('SKU1','SKU2','SKU3'))) and attribute_id=90;" >
   imagefilestodelete.sh

In my case, Magento is installed in folder /home/magento2rootpath – replace with your actual magento root path and replace SKU1, SKU2, SKU3 with your actual product SKU

Output of the generated file imagefilestodelete.sh

rm -f /home/magento2rootpath/pub/media/catalog/product/4/m/4m6a6330.jpg
rm -f /home/magento2rootpath/pub/media/catalog/product/4/m/4m6a6332.jpg
rm -f /home/magento2rootpath/pub/media/catalog/product/4/m/4m6a6333.jpg
rm -f /home/magento2rootpath/pub/media/catalog/product/4/m/4m6a6335.jpg

From the CLI run the below command

sh imagefilestodelete.sh

Now that we have deleted the physical image files from the media catalog respective image path folder, we will now need to remove the same from database, I used the below sql queries in the same order to remove the file references from database.

  1. Remove the image references from the respective tables in Magento

Login to your mysql with user having privilege to execute delete
queries

 - delete from catalog_product_entity_media_gallery where value_id in
   (select value_id from catalog_product_entity_media_gallery_value_to_entity where entity_id
   in (select entity_id from catalog_product_entity where sku in
   ('SKU1','SKU2','SKU3'))) and attribute_id=90;

 - delete from catalog_product_entity_media_gallery_value_to_entity
   where entity_id in (select entity_id from catalog_product_entity
   where sku in ('SKU1','SKU2','SKU3'));

 - delete from catalog_product_entity_media_gallery_value where
   entity_id in (select entity_id from catalog_product_entity where sku
   in ('SKU1','SKU2','SKU3'));

NOTE: Before you execute the above delete queries, run SELECT to check the entries. To do that replace delete from above queries to SELECT *

This way it was easier for me to delete images for specific products on production and not truncate the entire tables.

database – How to fix Uploaded to this post option to see group of images uploaded to a post in WordPress?

I’m transferring a site using the WordPress importer and Exporter settings. First, I downloaded the Posts content and the Media content, so I have two xml files.
After importing in the new site, I noticed that inside a posts, in the Add media section, when I select the “Uploaded to this post” option no images are listed. The media library shows all the images, and add media I’m also to see all the images.

Does anyone know what database content I need transfer to see the group of images uploaded to a particular post using the “Uploaded to this post” option?

Thanks,