.NET MAUI - Working with images

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ •

  • @GuildOfCalamity
    @GuildOfCalamity Рік тому +2

    Great video, I wish you would have shown how the backing field "ImageBytes" gets populated by reading from an image file.
    Also does the control have any advanced features like WPF has, e.g. RenderOptions.BitmapScalingMode="NearestNeighbor", or blur/glow/shadow?

  • @jstnflnt
    @jstnflnt 11 місяців тому

    AspectFill solved my issue, your videos always provide such quick solutions. Thank you

  • @jeff-0-0-0
    @jeff-0-0-0 Рік тому

    Thank you! This was just what I needed to get byte arrays loading in my application !!

  • @almanzalj2066
    @almanzalj2066 4 місяці тому

    Thank you! How to upload a zoomable image ?

  • @needledrag
    @needledrag Рік тому +1

    A piece on selecting an image using MediaPicker and then being able to downsize and compress the image to a desired threshold would be nice. Especially compressing further after downsizing

  • @tanakamawere
    @tanakamawere Рік тому

    Hi Daniel. Thanks for the video. Question though. Why didn't you use the .NET MAUI community toolkit for the converter

    • @DanielHindrikes
      @DanielHindrikes  Рік тому +2

      I wanted to show how ImageSources works. But you have a point, I could have used that one.

  • @AkSanTari
    @AkSanTari 9 місяців тому

    awesome, just what i needed!

  • @ayisthiya740
    @ayisthiya740 6 місяців тому

    Hi video is amazing, I like to know how to fill full image as a background can you please explain me

  • @eth6706
    @eth6706 Рік тому

    Love your videos. Keep it up man

  • @PostJJJJJJJJJJ
    @PostJJJJJJJJJJ 10 місяців тому

    Could you tell me how i rotate an image in viewmodel? I dont want to have an property in my picture entity called rotation whicj is the reason why i want to rotate the pixels 90 degrees per click.

    • @DanielHindrikes
      @DanielHindrikes  10 місяців тому

      Unsure. You cannot bind to RotationX or RotationY properts?
      If not you can listen to Property changed in code behind and call the Rotate method of the image.

    • @PostJJJJJJJJJJ
      @PostJJJJJJJJJJ 10 місяців тому

      @@DanielHindrikes i tried to bind it to rotation and it sucessful rotated but its only the ui element itself and not the pixels, because if i rotate it and save it in my database, its again the same position as before 😕
      Sry for my bad english btw and thanks for the fast answer :)
      Already found a solution on github btw its completly weird and has something to do with the mediapicker itself 🤦‍♂️😅

    • @DanielHindrikes
      @DanielHindrikes  10 місяців тому

      Aha. Then you need to change the image itself. Gueess there are libs for that.

    • @PostJJJJJJJJJJ
      @PostJJJJJJJJJJ 10 місяців тому

      @@DanielHindrikes To which package do you refer? Skia Sharp or Syncfusion?

    • @PostJJJJJJJJJJ
      @PostJJJJJJJJJJ 10 місяців тому

      @@DanielHindrikes found the problem, when you capture a photo with mediapicker.capturephotiasync() its gonna be an png instead of jpeg then you loose some metadatas like "orientation" seems like there are no workarounds for this for now

  • @umarqulovmuhammad
    @umarqulovmuhammad Рік тому

    Could you help me realizing or running MAUI BLAZOR app in iOS it does not work. Evenly default blazor hybrid app is does not work with 14.2 Xcode and 17.4 visual studio

    • @umarqulovmuhammad
      @umarqulovmuhammad Рік тому

      Evenly Blazor hybrid default app is does not work on iOS

  • @abdulkabir_02
    @abdulkabir_02 11 місяців тому

    Hi Guy, thank you for this amazing content.
    Please Sir, how can you make a gradient overlay on an image ?

    • @DanielHindrikes
      @DanielHindrikes  11 місяців тому +1

      I don’t really understand what you want to achieve. Do you have any examples?

    • @abdulkabir_02
      @abdulkabir_02 11 місяців тому

      @@DanielHindrikes I want to make gradient over image in onboarding page

  • @mkgungor
    @mkgungor Рік тому

    Hi
    Could you make a video about how to make the .Net MAUI app auto start at boot… Thank you!

    • @DanielHindrikes
      @DanielHindrikes  Рік тому

      I don’t think that is possible. Or I guess it depends on the platform.

  • @dariusz.9119
    @dariusz.9119 Рік тому

    I'm a complete newbie in programming so I wish you have shown how the "ImageBytes" works in the code behind. You named it "ImageBytes" so it seems like the property is of type "byte[]" but you pass it as an Object type in the converter and then convert that object into array of bytes. So I feel lost because what is actually the type of "ImageBytes" and what is going on in code behind?

    • @DanielHindrikes
      @DanielHindrikes  Рік тому

      It is a byte array. The interface of IValueConverter only has a method that takes a object so I have to cast it to a byte array.

    • @dariusz.9119
      @dariusz.9119 Рік тому

      @@DanielHindrikes Great thank you for the reply :)

  • @princesingh-cv8ry
    @princesingh-cv8ry Рік тому

    Superb sir

  • @MegaxAT
    @MegaxAT 4 місяці тому

    Glorious! : D