magento2 – Resizing Magento 2 images does not work properly

The images of my products have a size of 600 x 600 px. in the view.xml file I configured:


      300
      366

But the images I get in the category page are 300 x 300 px, not 300 x 366 px.
Any help would be appreciated!

merge / format report images in Django – weasyprint

I am working in an image-focused medical report (using Django – weasyprint). The model looks good and works well when the images are the same size. But unfortunately, some images are of different sizes. These differences greatly spoil the formatting of the report. Is it possible to use python to standardize sizes? In addition to that, I would like to associate the groups with the images in one (1.png + 2.png + … _n.png = plus grand.png). This process will help a lot. insert description of imagem aqui
Thank you ()

images – Why does photo quality decrease long after the photo is published?

A photo was posted to my Instagram account, and for about a week it looked clear and the quality was high. However, it suddenly became pixelated to the point of being unrecognizable. I was under the impression that the online images did not change, so I would like to ask what caused this sudden change.
A similar problem has been highlighted with Facebook. I uploaded a photo a few months ago from a Facebook page, and its size was 459 KB. When I downloaded it again this morning, on the same device, the photo was 451 KB.
What causes online photos to deteriorate over time? Is there a way to prevent this?

Adding images stored on a remote server to the WordPress multimedia library

I have WordPress installed on server A and a few thousand images stored on server B. I would like to add these images on server B to the WordPress multimedia library on server A without transferring those from server B to server A. Is it feasible?

seo – Is it possible to trace the traffic on my photos displayed in Google Images?

I have a question. I have a WordPress website for my business. I use Google Analytics and WordPress Statistics to track organic search and traffic to my website. But there is something I wonder: I have a picture of me on my home page. This photo is also visible in Google Images if you search in my business. But if someone clicks on the image (and doesn't leave Google), can I track users who cache this image (embedded?) And see their IP address / location? How does this work?

I hope someone can answer my question.

Thanks in advance!

wolfram cloud – How to get good images for Graph in published notebooks

Consider the following Graph for example:

Graph(
    {"Square"->"Rectangle","Rectangle"->"Parallelogram","Parallelogram"->"Four-Sided Polygon","Trapezoid"->"Four-Sided Polygon","Rectangle"->"Trapezoid","Four-Sided Polygon"->"Polygon","Polygon"->"Shape","Circle"->"Ellipsoid","Ellipsoid"->"Shape","Triangle"->"Polygon","Equilateral Triangle"->"Isosceles Triangle","Isosceles Triangle"->"Triangle"},
    PlotTheme->"DiagramGreen",

    VertexSize->{.4,.15},
    VertexLabelStyle->Directive(FontFamily->"Arial",FontSize->14),
    AspectRatio->1.5,
    ImageSize->Large
)

The image is crisp and clear (or at least bearable) in the local notebook.

enter description of image here

But if I publish it to the cloud and watch it there, it is of poor quality.

enter description of image here

This may not seem so bad in this simple diagram, but for a more complex diagram with many branches, the vertices are small and become unreadable and the diagonal or curved edges break (aliasing).

In addition, the case becomes serious if I try to transmit information using a vertex shape function with different types of dotted edges (it becomes difficult to distinguish with the aliasing that occurs in the cloud. ):

VertexShapeFunction->(Inset(Framed(#2,
    Background->...change based on #2 ...,
    FrameStyle->Directive(...change based on #2 to {Black,Dotted}, {Black,DotDashed} or {Black,Dashed}...)
),#1)&)

Finally, what happens to the hyperlinks in the vertices of Graph in the notebook published in the cloud, they just don't want to work!

Graph(
    {"Square"->"Rectangle","Rectangle"->"Parallelogram","Parallelogram"->"Four-Sided Polygon","Trapezoid"->"Four-Sided Polygon","Rectangle"->"Trapezoid","Four-Sided Polygon"->"Polygon","Polygon"->"Shape","Circle"->"Ellipsoid","Ellipsoid"->"Shape","Triangle"->"Polygon","Equilateral Triangle"->"Isosceles Triangle","Isosceles Triangle"->"Triangle"}/.{
        "Rectangle"->Hyperlink("Rectangle","https://en.wikipedia.org/wiki/Rectangle")
    },
    PlotTheme->"DiagramGreen",

    VertexSize->{.4,.15},
    VertexLabelStyle->Directive(FontFamily->"Arial",FontSize->14),
    AspectRatio->1.5,
    ImageSize->Large
)

Unity will not cut images correctly

Okay, so I'm very new to game development and imported a .png file (made in Paint) into the assets and that file just contains a circle and an oval, not touching and distant from each other, both colored blue. When I open the sprite editor and click on the splice, select Automatic and Delete the existing options and click on slice, I don't get different sprites , one containing the circle and the other containing the oval. The image is not cropped at all. I have also set the sprite mode to Multiple, but to no avail.

Can anyone help me and tell me what i am doing wrong? The engine I use is Unity.

Filter only specific images using ffmpeg from video and audio

Is it possible to use ffmpeg, for example, to take every second frame of a video (vid.mp4) and the corresponding audio bits for that frame and output them in .mp4?
ffmpeg -i vid.mp4 filter_complex "......." every2nd_vid.mp4
I would like to use raw images without PTS etc. inside the filters. Curiously, ffmpeg is very picky on all videos being perfect with timestamps and "quality" images.

light – Why are the midday images dull?

When I take photos at midday, well before the golden hour, my images are usually dull. They seem fuzzy, not very contrasted (maybe because of the mist?) And very little saturated.

My suspects:

  • Flowering (or similar phenomenon).
  • Glare of the lens, due to the brightness of the sky.
  • More pleasant shadows and Perception increased contrast,
    created by diffusion.
  • Something like the resonant frequency – assuming that light has a
    correlative.

What I mean by resonant frequency is: If I understand correctly, with sound, if you hit an object with a signal that corresponds to its natural resonant frequency, it will react more strongly. So because the sunlight is so blue at midday, the warm colored objects are not very excited and therefore offer very little saturation.

Please correct or explain the items that I assumed, and also explain the important items that I did not think of.

I was asked to add a sample image. Here is one, if I remember correctly, I turned to near mid-day. The blurry effect is most evident in distant trees.
https://i.imgur.com/1t0X1M4.jpg

migration – How to import and create multiple images from a CSV file using the Migrate Plus API?

I have done a lot of research but none of the examples seem to fit our use case.

I have a migrate plus YML file which creates images from a CSV file which will then be used on Commerce products to migrate imports. This YML import works fine for single images, but we now need to extend it to allow multiple images.

I put some test images in the CSV separated by a pipe delimiter "|". But I can't make the import explode or iterate correctly through the multiple images.

The CSV file has a column called "Product Image" with a value of:

test.jpg|test2.jpg|test3.jpg

The current YML file that works with only one (unscoped value) is below. How can we extend this YML to properly explode and create multiple images?

id: products_variation_photos
label: Photos associated to product variations
migration_group: my_module
migration_tags:
  - CSV
# Source.
source:
  plugin: csv      
  path: modules/custom/my_module/assets/csv/products.csv
  header_row_count: 1
  keys:
    - Product Image
  fields:
    Product Image: Name of the image file associated with the product.
  constants:
    file_source_uri: public://import/catalog_images
    file_dest_uri: 'public://product_images'
destination:
  plugin: 'entity:file'
process:
  filename: Product Image
  file_source:
    -
      plugin: concat
      delimiter: /
      source:
        - constants/file_source_uri
        - Product Image
    # Make sure we don't have any url-unfriendly characters.
    -
      plugin: urlencode
  file_dest:
    -
      plugin: concat
      delimiter: /
      source:
        - constants/file_dest_uri
        - Product Image
    # Make sure we don't have any url-unfriendly characters.
    -
      plugin: urlencode
  uri:
    plugin: file_copy
    source:
      - '@file_source'
      - '@file_dest'
# Dependencies.