Posts by Sofia Rodrigues • 433 points
19 posts
-
2
votes1
answer138
viewsQ: iTextSharp - Add TIFF image to a PDF
I am using Magick.NET-Q16-Anycpu version 7.12.0 and iTextSharp libraries. First I open the image with Magick and save this TIFF page in a folder. Then I use this image to add it to the PDF. I’ve…
-
1
votes2
answers95
viewsQ: Problem with LINQ
I am converting PDF to TIFF and converting page by page to a temporary folder and at the end I will fetch those files to join them as in the original file. My code is as follows: (I used what is in…
-
1
votes2
answers174
viewsA: Combine TIFF files in C#
After putting the question also on the Magick.NET support site and with the help of @Lucasmiranda, I came to the conclusion that the solution is simpler than that. So the code stays: public void…
-
2
votes1
answer47
viewsA: Error unable to access C#image collection
With the help of @Marceloshinitiuchimura’s comment, the answer is to remove the block using on the line using (var image = new MagickImage(File.ReadAllBytes(imageFiles[i]), settings)) So the final…
-
1
votes2
answers174
viewsQ: Combine TIFF files in C#
I’m trying to combine multiple TIFF files into a multipage. I am used Magick.NET but the end result is a TIFF with only the first page. I tested with a 10-page file but only got one. I think there…
-
2
votes1
answer47
viewsQ: Error unable to access C#image collection
I am using Magick.NET to choose JPEG compression for my TIFF files. So, I save each one with this compression in a collection of images. Finally I want to join all the TIFF of the collection in one…
-
2
votes1
answer105
viewsQ: Error concatenating more than 9 C#files
PROBLEM I made a code to concatenate (Merge) pdf files. The code works in full but when there are more than 10 files, instead of doing in order: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. Does so: 1, 10, 2, 3,…
-
0
votes1
answer26
viewsA: Error in GDI+ when selecting active frame
I already solved the problem and it was my mistake. Since I had already separated the TIFF file before and was only going to fetch pages 1 to 1, I could not select any Activeframe because the pages…
-
1
votes1
answer26
viewsQ: Error in GDI+ when selecting active frame
I have a problem when I try to split multi-page TIFF files. As I divide the files, I save each page in a temporary folder and save a JPG from that TIFF to use it as a thumbnail of the image in…
-
0
votes1
answer31
viewsQ: Fileinfo.Length gives wrong size
I’m trying to add the thumbnail, the name and size of a file to a ListView. I can add everything correctly except the size! I’m making Split PDF and I will add the information of each page to the…
-
0
votes1
answer134
viewsA: Concatenate files according to the order of the list C#
I solved this question after more than 1 month. I hope I can help someone with this issue too! Then I will explain: 1. I add the files to ListBox (without the path to the folder where it is located)…
-
1
votes1
answer309
viewsA: Combine TIFF files on a multi-page TIFF C#
To merge TIFF files into a multi-page TIFF, no reference or some library and third parties are required, just use this function. I removed the function of this site: Split/Merge TIFF using…
-
2
votes1
answer52
viewsQ: Parameter is not Valid - Picturebox in C#
I am making a TIFF file viewer in Visualstudio 2017, in C#language. I can open the TIFF file, if multipage will separate it by pages and I can show each page and browse through them. My problem is…
-
1
votes1
answer309
viewsQ: Combine TIFF files on a multi-page TIFF C#
I’m making a program to convert and concatenate files. I wanted, after converting the PDF files into TIFF, to combine them into a single multi-page TIFF file. I’ve been looking for a long time and I…
-
2
votes1
answer147
viewsQ: Out of Memory when placing image in Picturebox c#
I’m trying to open a JPG, PNG, BMP or TIFF image on PictureBox, but when I try to put this image, which was opened earlier, gives the error of "Out of memory". My code is to open the image and put…
-
1
votes3
answers591
viewsA: Access to the path 'path' is denied. VS2017
I managed to correct this mistake by adding the tips of Pedro Duca and Augusto Vasques, thank you both! EDIT: I had to change the code because I was removing the contents of the initial file, now…
-
1
votes3
answers591
viewsQ: Access to the path 'path' is denied. VS2017
I am trying to create a file and save it in a folder created by me with the name "temporario". I created this folder on disk E: and inside my program, on disk C:. Using File.Create(file), error…
-
4
votes1
answer134
viewsQ: Concatenate files according to the order of the list C#
I have a program that concatenates PDF files. First it does the SPLIT of all pages of each file and store them in a temporary folder. When I press the end button, it calls a function GetFiles() that…
-
3
votes1
answer135
viewsQ: How to go through an array at each click on C#?
I’m trying to make a Image Viewer for multi page Tiffs. I’m wearing a PictureBox and two buttons - one to move down and to the next page, and one to move up and to the previous page. My code goes…