• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
9 August 2020, 05:06:20

Recent posts

Pages1 2 3 4 ... 10
Help & Questions / ImagingExtras File not found:...
Last post by Fabio Codebue - 29 July 2020, 09:00:52
Im'm installing on Deeelphi 10.3.3 and when I build package I receive
[dcc32 Fatal Error] VampyreImagingPackage.dpk(132): F1026 File not found: '..\Extensions\ImagingExtras.pas'

I search this file in search but it doen't exist

where I can found it?

Help & Questions / Re: Optimized jpeg and png fil...
Last post by hakuna - 25 June 2020, 22:47:08
Hello guys,

Does anyone have any recommendations on how to do this using the library? I am almost finishing a program and I would like to export the images in the best possible way.
Help & Questions / Installing imaginglib on Delph...
Last post by SlashChuck - 24 June 2020, 17:30:42
Are there any instructions on how to install imaginglib on Delphi 10.2
Help & Questions / Optimized jpeg and png files f...
Last post by hakuna - 16 June 2020, 19:10:35

What is the best configuration to generate jpeg files and transparent background png files, both optimized for the web?

Suggestions, Feature Requests, Contributions / Re: WebP Image File Format
Last post by Luca Olivetti - 15 June 2020, 16:09:09
Quote from: Luca Olivetti on 15 June 2020, 16:03:39I'm attaching the patch to this message.

Here it is (I hope)
Suggestions, Feature Requests, Contributions / Re: WebP Image File Format
Last post by Luca Olivetti - 15 June 2020, 16:03:39
Quote from: Galfar on  6 January 2020, 00:59:29Yes, it is planned. Progress on Imaging is very slow but WebP is now one of the top priorities.

So far there is this contribution I received (attached, FPC only).

I took this zip and added support for loading animated webp.
I only tested with fpc (win32 and linux 64).
Under linux I just link with the system (in my case kubuntu) provided library, under windows I used your version of libwebpwin32.a and I took libwebpdemux.a from google (version 0.6.1, since it's the same I have in kubuntu). I also changed the windows version to dynamically link msvcrt and kernel32.
Note that I also had to reverse the colors (WepPDecodeRGBAInto -> WebPDecodeBGRAInto) since the red and blue channels were swapped.

I'm attaching the patch to this message.
I see the time argument. Although, I would prefer waiting longer and going without the DLL solution.

There are so many libraries out there coming with DLLs and up to now Vampyre Imaging is the only with no need of a DLL so far as I know. It would be great if it stays so, also because of platform independence reasons (DLL is Windows only and any program I have written in Lazarus was compiling on Linux without any changes) and especially for little tools coming without an installer.

But of course, you are the developer, its your choice. I even cannot imagine how complex WebP is...
I know, but with the very limited time available there's not much choice for these more complex image formats.
There used to be a way to embed DLL inside Windows EXE as a resource and use it directly from there, I'll see if it's still feasible with 64bits today. For library user that would be transparent like with C object files.
Do you mean that you would need an external DLL file to work with WebP?

I think one of the main advantages of Imaging is that you do not need external files and you get only one exe file. That is also one of the main reasons speaking for your library. I hope you will not change that...
I remember there were some linking errors but I haven't spent much time with it.
For a official WebP support in Imaging I'd go with using dynamic library.
Static linking with C object files (like here or Imaging's JPEG2000 and TIFF support) is nice that you get self-contained exe but it's a nightmare to test and maintain for all platforms.
Pages1 2 3 4 ... 10
SMF spam blocked by CleanTalk