Jump to content

All Media Lab

  • Posts

  • Joined

  • Last visited

Everything posted by All Media Lab

  1. Why does everything has to be made complicated without any reason. It's not complicated at all in a couple of day's you can have it implemented. Seen it happen in other apps and don't forget that you can already display webp in Affiniy Photo. All instructions are found on the Google devs pages: Just two examples, want to see more? How do I use libwebp with C#? WebP can be built as a DLL which exports the libwebp API. These functions can then be imported in C#. Build libwebp.dll. This will set WEBP_EXTERN properly to export the API functions. libwebp> nmake /f Makefile.vc CFG=release-dynamic Add libwebp.dll to your project and import the desired functions. Note if you use the simple API you should call WebPFree() to free any buffers returned. [DllImport("libwebp.dll", CallingConvention = CallingConvention.Cdecl)] static extern int WebPEncodeBGRA(IntPtr rgba, int width, int height, int stride, float quality_factor, out IntPtr output); [DllImport("libwebp.dll", CallingConvention = CallingConvention.Cdecl)] static extern int WebPFree(IntPtr p); void Encode() { Bitmap source = new Bitmap("input.png"); BitmapData data = source.LockBits( new Rectangle(0, 0, source.Width, source.Height), ImageLockMode.ReadOnly, PixelFormat.Format32bppArgb); IntPtr webp_data; const int size = WebPEncodeBGRA(data.Scan0, source.Width, source.Height, data.Stride, 80, out webp_data); // ... WebPFree(webp_data); } How do I use the libwebp Java bindings in my Android project? WebP includes support for JNI bindings to the simple encoder and decoder interfaces in the swig/ directory. Building the library in Eclipse: Make sure you have the ADT plugin installed along the with NDK tools and your NDK path is set correctly (Preferences > Android > NDK). Create a new project: File > New > Project > Android Application Project. Clone or unpack libwebp to a folder named jni in the new project. Add swig/libwebp_java_wrap.c to the LOCAL_SRC_FILES list. Right-click on the new project and select Android Tools > Add Native Support ... to include the library in your build. Open the project properties and go to C/C++ Build > Behaviour. Add ENABLE_SHARED=1 to the Build (Incremental build) section to build libwebp as a shared library. Note Setting NDK_TOOLCHAIN_VERSION=4.8 will in general improve 32-bit build performance. Add swig/libwebp.jar to the libs/ project folder. Build your project. This will create libs/<target-arch>/libwebp.so. Use System.loadLibrary("webp") to load the library at runtime. Note that the library can be built manually with ndk-build and the included Android.mk. Some of the steps described above can be reused in that case.
  2. Of course how can I forget! Always look at the negative side!! La La La!!! The libwebp library, which can be used to add WebP encoding or decoding to your programs. https://developers.google.com/speed/webp/download
  3. They are two different things that can both be accomplished without hurting each other! The webp source code is available for free from the Googles dev page and easy to implement in Photo.
  4. Hi @daveconrey Isn't supposed to be your AMD Radeon Pro 5500m activated instead of the Intel UHD Graphics 630? https://www.idownloadblog.com/2016/10/22/automatic-graphics-switching/ It can because auto graphic switching is activated it switches to the wrong card. I'm not saying it is, but I had that a couple of months ago. Despite the fact that it showed the proper card. I had to switch the switching off.
  5. Why do you think all major browsers support webp? Because the users kept on shouting/asking about it and at the end it was implemented. Without any result, so it's wise to keep remembering them that this feature is missing in Affinity!
  6. Nonsense! Everybody is entitled to discus anything when ever they want. I started the topic you are referring to years ago and till now zero result. Who do you think you are? The forum police? The spokesman of Serif? Many thing are requested multiple times, it just proves that there are more people thinking that it's a missed opportunity of Affinity. Webp is not only used in web design, but also in the game development industry and app development. Users of Affinity just have to keep on asking about webp!!!!! Webp is now in all major browsers because the users kept on asking about it!!!!
  7. @NordishBen Don't listen to all that negative input from some user on this form! It's just plain ignorance and negativity. @GarryP Wonder why you spent your energy on something that's important for others and you don't seem to care about. Just don't use it when it is implemented! It's true all common browsers are supporting webp and it's unbelievable that it's still not implemented in the Affinity apps. https://w3techs.com/technologies/details/im-webp#:~:text=WebP is used by 1.6% of all the websites.
  8. Secondly I had a look at your logo and it's the wrong size. It's a error in the design of the website. 250px X 46px is a very wide ratio. Try to create a logo around the ratio 2:1. And change the size in your CSS according to the new size. Create a svg and use transparency. You can edit/crop a slice in the export persona in the proper ratio and export the svg in Affinity Designer. This is how your logo is placed in your website now resulting in a small logo because of the empty space left and right: The best way to create the logo is in Designer using the transparency mode in the document setup. I used your png as a example that has no transparency.
  9. Hi @KGPX1, To start I would take care of the HTML& inline CSS errors on the site HTML VALIDATION your index page In your theme.css I see *: .logo img{max-height:46px;max-width:250px} .logo img[src*='.svg` You can change the size if needed. *You should create/export your logo as SVG (that is recommended anyway for a website). Not like a png as you did on your site. Just svg for export and no particular size of course. SVG (Scalable Vector Graphics) have a advantage in case of a simple logo over png and jpg because it uses vectors instead of pixels. Like @firstdefenceis saying your logo is way to complicated for a small logo. I always test my web logo's in Affinity Designer by zooming them smaller and smaller to see if it works or not. Hope this helps! David
  10. Yes of course! I agree!😉 But looking only at the so called "official figures" gives already a enormous amount of webp users. Imagine that your calculation is included even more!
  11. fde101 If it's "only" 1.4% from the 1,197,982,359 websites that seem to be online at the moment it's still a lot!
  12. https://caniuse.com/webp https://w3techs.com/technologies/details/im-webp#:~:text=WebP is used by 1.4% of all the websites. How many websites are there? It's the chicken and egg question, as long as nobody besides all current browsers support webp it will never be widely used by web designers/developers. If Serif gave it a change by supporting it that would help a lot promoting it. At the same time if AVIF/JPEG XL is become common ground in the future Affinity will be to late with introducing webp. We use webp with jpg fallback in every website we make! It's a missed opportunity!
  13. Hi, I'm working on a geometrical svg and wonder how do I get the pen tool in the exact corners of the shapes. I have a rectangle that contains multiple shapes with colors, but I want to select the outlines to create a color layer on top of it. In simple words: How do I select that rectangle in the exact corners to draw the rectangle over it? Regards, David
  14. @the_tux, I had a similar problem on my MAC m1 and it was caused by the fact that I had installed a AVG Virus scanner as soon as I removed that app things turned back to normal. Do you use any outside app for optimizing your Mac or Virus scanning?
  15. REGARDING BIG SUR: If you have updated to macOS 10.16/11 Big Sur, please note that Adjust AI, Jpeg to RAW AI, and Studio 2 have not yet been updated to facilitate Big Sur yet. We are working on the next steps for those programs. The newest versions of Mask AI, DeNoise AI, Gigapixel AI, and Sharpen AI all support Big Sur with Intel processors. Please note that legacy programs that have been previously discontinued may not function with Big Sur and updates for M1/Apple Silicon processors may take several months. Thank you.
  16. Here it doesn't work in Affinity Photo Latest Big Sur and Adjust AI, Jpeg to RAW AI don't work as well. Did not try it in PS, but your question was related to AP. I have Sharpen, Adjust working. And Gigapxel works (stand alone) Just try it maybe you are lucky!
  17. Topaz is still busy creating updates for Big Sur. So no it doesn't work. https://help.topazlabs.com/hc/en-us It's ridiculous!
  18. webp I never optimize in https://www.xnview.com/en/xnconvert/ and still have a small file size and for jpg I use: https://www.jpegmini.com/ you can drag and drop a folder with 500 images that are optimized in sec.
  19. Can you upload the original image? I work with both Photoshop and Affinity, but never noticed that big difference! I like to test what you say!
  20. @Designer1, I agree a 100% with what you are saying! It clearly says "Smart Objects Supported" and it should be "Limited Smart Object Support"! This forum is full of posts about this subject so that it's limited supported is clear for me! I had the same problem with Photoshop stuff only half working it's very frustrating. And @Andy05 what would you think if somebody responded to you in the way you do to @Designer1 advising him to purchase other software!? Come on! David
  21. If the issue only appears with copy and new from clipboard that's an other story. The clipboard only stores what it get's to store (for example in Photoshop). I can conform that the copy from Photoshop and Corel gives issues and from Gimp to Affinity Photo works only with only a different DPI. Copy to clipboard is the most unreliable way to copy something from one application to the other. Just Google it and you have endless hits with endless amounts of applications. There are always issues caused by the app where you copy to the clipboard, because what I have seen Gimp makes a perfect copy (but you don't know what happens with complicated projects) things can get lost. I'm a daily user of photo apps and always use drag and drop or file > open the stuff. To fix this it has to work at both ends. So maybe with a coming update?
  22. Hope you believe it now! This is Corel 300DPI. You must do something wrong for sure and despite the fact that I show you all these tests you don't change your mind!? As long that you don't upload an actual image for testing with screen shots to show how you created the image in Photoshop nobody can test your problem.
  23. Here you have 300 DPI ! Could it not be that you do something wrong or that Photshop CC needs a update?
  24. 96 DPI was set in Photo Shop for this test. I can set it on any DPI the result will be the same only with a different DPI.
  • Create New...

Important Information

Please note there is currently a delay in replying to some post. See pinned thread in the Questions forum. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.