Find Jobs
Hire Freelancers

Ghostscript.NET.Rasterizer dpi does Not get set

$10-30 USD

Ukończony
Opublikowano około 4 lata temu

$10-30 USD

Płatne przy odbiorze
Please don't give an offer unless you know it is working. I am converting PDF To image format The program works fine but the issue is the dpi doesn't get set. I am using Nuget package wrapper Ghostscript 1.2.1 and [login to view URL] 9.28 versions doesn't matter as long as it works. Here is my code: using [login to view URL]; using [login to view URL]; using System; using [login to view URL]; using [login to view URL]; using [login to view URL]; class Program { public GhostscriptVersionInfo _lastInstalledVersion = null; public GhostscriptRasterizer _rasterizer = null; static void Main() { var watch = [login to view URL](); string inputPdfPath = @"C:\fileName"; string outputPath = @"C:\ouputPath\"; int desired_x_dpi = 300; int desired_y_dpi = 300; GhostscriptVersionInfo _lastInstalledVersion = [login to view URL](); GhostscriptRasterizer _rasterizer = new GhostscriptRasterizer(); /* MemoryStream usage sample byte[] buffer = [login to view URL](inputPdfPath); MemoryStream ms = new MemoryStream(buffer); [login to view URL](ms); */ [login to view URL](inputPdfPath, _lastInstalledVersion, false); for (int pageNumber = 1; pageNumber <= [login to view URL]; pageNumber++) { string pageFilePath = [login to view URL](outputPath, "Page-" + [login to view URL]() + ".png"); Image img = [login to view URL](desired_x_dpi, desired_y_dpi, pageNumber); [login to view URL](pageFilePath, [login to view URL]); } } } } You can test in c# asp.net windows console application Please don't give an offer unless you know it is working.
Identyfikator projektu: 23977815

Informację o projekcie

2 ofert
Zdalny projekt
Aktywny 4 lata temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
Hi, I have read you description and resolved your dpi issue. with the help the given source code. I am a c# developer for past 6+ years, Have developed many C# windows and web Application(Asp.net ,MVC, Enity framework). Also have been worked with fortune companies and received appreciation. Have experience in javascript, jquery, Angularjs etc., Also have experence in SQL,SSIS package., have written lot queries for large size database
$30 USD w 1 dzień
5,0 (5 opinii)
2,5
2,5

O kliencie

Flaga UNITED STATES
warrn, United States
4,6
21
Zweryfikowana metoda płatności
Członek od mar 21, 2017

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.