Search found 21 matches

by accudave
Wed Jun 01, 2022 4:44 pm
Forum: Feature Requests
Topic: Only Copy Platform Specific Native Binaries from NuGet
Replies: 1
Views: 4042

Only Copy Platform Specific Native Binaries from NuGet

Is it possible to have the GdPicture.NET team update the GdPicture.targets file in the NuGet package to only deploy the native binaries for the correct target platforms of the project? SQLite does this, here is their targets file. <?xml version="1.0" encoding="utf-8" ?> <Project ...
by accudave
Wed Jan 12, 2022 8:06 pm
Forum: Feature Requests
Topic: Get GdPicture.NET as a (set of) NuGet packages
Replies: 25
Views: 33203

Re: Get GdPicture.NET as a (set of) NuGet packages

This is a great step forward. May I suggest the GdPicture.NET team also break them down by feature area, like we have in our private NuGet repository. I have been using GdPicture from our own private repositories for almost two years now in this manner and it works really well, especially since it i...
by accudave
Tue Jun 08, 2021 12:16 am
Forum: Feature Requests
Topic: Get GdPicture.NET as a (set of) NuGet packages
Replies: 25
Views: 33203

Re: Get GdPicture.NET as a (set of) NuGet packages

Hugo, I would be willing to share a full solution. It's not rocket science and I have been using it in a private NuGet feed for sometime now. It includes solutions for both the x86 and x64 binaries as well as native binaries and works well with packages.config, PackageReference, and is transitive ac...
by accudave
Sun Feb 09, 2020 3:34 am
Forum: Feature Requests
Topic: Get GdPicture.NET as a (set of) NuGet packages
Replies: 25
Views: 33203

Re: Get GdPicture.NET as a (set of) NuGet packages

Here is a working .nuspec file to get you guys going, it works, with the native binaries as well. I have only tested this with PackageReference, but it is written to work with packages.config as well. It will add GdPicture.NET.dll as a proper assembly reference and also properly copy the native bina...
by accudave
Fri Aug 23, 2019 3:38 pm
Forum: Feature Requests
Topic: Get GdPicture.NET as a (set of) NuGet packages
Replies: 25
Views: 33203

Re: Get GdPicture.NET as a (set of) NuGet packages

+1 for this please. Our GdPicture footprint for many of our builds is 70mb and the size of our repository grows with every release of GdPicture, and is a problem for our CI server builds. Because there is no NuGet distribution, our CI server builds have to download these from VCS each time which is ...
by accudave
Thu Jul 27, 2017 5:26 am
Forum: Feature Requests
Topic: Add loadIntoMemory parameter to CreateGdPictureImageFromStream
Replies: 1
Views: 11669

Add loadIntoMemory parameter to CreateGdPictureImageFromStream

Please add an overload to CreateGdPictureImageFromStream to allow the api to utilize an existing Stream without making a copy of it, such as when using a pre-existing MemoryStream, or FileStream. Currently GdPicture will always make a copy of the stream, and is a problem when working with large file...
by accudave
Thu Jul 13, 2017 3:39 am
Forum: General discussions
Topic: How to speed up thumbnail generation?
Replies: 1
Views: 10409

How to speed up thumbnail generation?

Hey there, I am generating thumbnails by using GdPictureImaging.GetThumbnailHQ, but it is pretty slow. This is quite noticeable on larger documents (e.g 30 pages takes over 3-4 seconds). The non-HQ method is not much faster. Is there a way to use parallel processing? I have attempted this, but it ap...
by accudave
Thu Jan 26, 2017 5:55 pm
Forum: PDF
Topic: Possible bug when using JPEG2000 and MRC compression
Replies: 2
Views: 9857

Possible bug when using JPEG2000 and MRC compression

I won't be able to share example documents because the ones we are provided that can replicate the bug have sensitive customer data them, but we found that on some TIF documents (LZW compressed), converting them to PDF with JPEG2000 and MRC compression results in a GenericError returned by GdPicture...
by accudave
Tue Oct 04, 2016 6:09 pm
Forum: General discussions
Topic: Aborted status returned by ReleaseGdPictureImage
Replies: 8
Views: 21651

Re: Aborted status returned by ReleaseGdPictureImage

This did resolve the issue and our api is working great now. I understand that I was releasing the image id of the multi-page tiff too early by having that call outside the else statement, but could you explain more about what TiffSafeAsMultiPageFile does internally that requires us to do tiffId = p...
by accudave
Tue Oct 04, 2016 4:17 pm
Forum: General discussions
Topic: Aborted status returned by ReleaseGdPictureImage
Replies: 8
Views: 21651

Re: Aborted status returned by ReleaseGdPictureImage

You will need to add the GdPicture references, but there is also an example PDF, though it seems to happen on any file.
by accudave
Tue Oct 04, 2016 4:07 pm
Forum: General discussions
Topic: Aborted status returned by ReleaseGdPictureImage
Replies: 8
Views: 21651

Re: Aborted status returned by ReleaseGdPictureImage

It is 30MB, how would you like me to send this to you?
by accudave
Tue Oct 04, 2016 3:26 pm
Forum: General discussions
Topic: Aborted status returned by ReleaseGdPictureImage
Replies: 8
Views: 21651

Re: Aborted status returned by ReleaseGdPictureImage

The second code snippet in my post above is the full method signature used to convert the file, and it seems to fail when releasing the multipage tiff id. The code is almost identical to the example https://www.gdpicture.com/guides/gdpicture/Converting%20multipage%20PDF%20document%20to%20multipage%2...
by accudave
Mon Oct 03, 2016 10:02 pm
Forum: General discussions
Topic: Aborted status returned by ReleaseGdPictureImage
Replies: 8
Views: 21651

Aborted status returned by ReleaseGdPictureImage

Is this a status code we should be treating as an error, or can it be ignored? We have code to convert a PDF to a TIF that works great, but we noticed that this method is returning an Aborted status code when releasing the multi-page TIFF id. The concern here is a possible memory leak, and we are us...
by accudave
Tue Jul 21, 2015 9:21 pm
Forum: General discussions
Topic: One of either Get/SetRectCoordinatesOnDocumentInch has a bug
Replies: 9
Views: 15873

Re: One of either Get/SetRectCoordinatesOnDocumentInch has a

I will try to put something together this evening for you to find out. I'll attach the project solution or you if I can reproduce it as a standalone application.
by accudave
Tue Jul 21, 2015 7:11 pm
Forum: General discussions
Topic: One of either Get/SetRectCoordinatesOnDocumentInch has a bug
Replies: 9
Views: 15873

Re: One of either Get/SetRectCoordinatesOnDocumentInch has a

I am. I updated to be sure. I also found that this is only occurring with PDF files.