I created a pretty nice graph of dependencies in my project by VS2012, the file extension is .dgml
I want to export/convert it to GIF / PNG / JPG / PDF etc.
How can I do this without using print-screen (which forces fit the graph to screen size)?
The graph can't be open by the following:
Image viewer, MS-Word, MS-Paint, Photoshop.
Here is part of the graph:
OK, after some research I found it.
It can be done this way:
Edit -> Copy Image, then paste it in other program.
Note, the current resolution is saved, so zoom to the desired resolution before you do the copy.
Related
Platform: Linux
Tool: Qrencode (Open source application for creating QR code in linux)
I am using this qrencode application to generate QR code. The output file format that I am using is PNG. But when I try to print the PNG file using dot-matrix printer, it prints correctly but scrolls down whole page i.e. it occupies the whole page, but my requirement is that I should be able to print the image to any point of an page.
Unfortunately I don't have time to go through the entire source code of LIBPNG and QRENCODE.
I strongly recommend to check the man page for lpr
It has an option for positioning the image on the page, e.g. -o position=name.
Check the possible position names in the manual.
Most probably you would need to scale your images.
Be sure that your image is not too large for fitting in the page.
My goal is to convert pictures from .svg format into .emf, remaining the size, resolution, etc!!
The best solution that I found was using Visio, because of the quality after conversion and also if I need to resize the pictures, they don’t lose quality.
Please check the picture that I am sending on the link.
This picture shows the appearance when I open a .svg file in Visio 2010. As you can see, the image is very clear and the limits well defined!
(picture. 1)
I have already fit the drawing to the page using this tip
(picture. 2)
To get the emf format I save this file as .emf format:
(picture. 3)
The quality is good when it is opened with Microsoft Picture Manager, but the problem is detectable when this picture is inserted on the software that I want to use. The .emf file looks well, but when I convert from svg to .emf, Visio inserts an invisible frame around the image, if I open this emf file with paint it looks like it is inserted 1 pixel size for all borders!
(picture. 4)
As you can see here, the size image from Visio should looks like this (Inkscape) but it’s inserted a frame like this:
(picture. 5)
(picture. 6)
Does anybody know how to get a solution to this, using either Visio or other software?
Please do the download of the files.
(Link is no longer valid.)
I appreciate all feedback.
Thank you for preparing so much for this question and providing the ZIP. It was a very thorough job.
I don't have definitive knowledge here but my experience is this is very common EMF which - as I understand it always require a bounding box to be stored in the file.
The only option I can think of is using another format for example EPS - but it depends on what the final program you are using supports. Exporting to a bitmap format works better for some applications - though it may not be desirable for your needs.
One solution would be to use inkscape to convert from svg to emf.
In the Inkscape GUI: Menu File -> Save As -> Select emf as Target
Or in the command line mode: inkscape -z src.svg -M target.emf
I need to view some PDF with large vector images (they can be really large) on linux (I am on Debian Wheesy). I need also to zoom on theses images with more than 400% (infinite zoom would be great, more than 800% would be good). I have tested several PDF viewers but they have the following problems :
Evince : cannot zoom more than four or five increase of zoom ("+"), the image is so big that it doesn't even display the percentage of zoom.
Okular : cannot display the image (all is blank) after a certain degree of zoom (~70%-80%).
muPDF (last version from git and debian repository version) : cannot open a too large image. Error message : "Interger overflow" (last version) or "Out of memory" (debian version).
Xara LX : cannot import PDF in the open source version. Convert PDF to SVG for importing into Xara LX does not fit my needs because my PDF contains several pages.
Inkscape : can open PDF and its zoom is powerful, but it's not a PDF viewer so the navigation is slow.
Xournal : cannot open correctly the image (all is black).
Do you know others open source PDF viewer that could open and zoom on PDF with large vector images ?
Thank you in advance,
Both Ubuntu's Evince reader and Linux Mint's Xreader will increase their max level of zoom if their cache size is increased. You can use gsettings to view or change these settings.
Evince reader's zoom can be increased with:
gsettings set org.gnome.Evince page-cache-size 200
Xreader with:
gsettings set org.x.reader page-cache-size 200
In both cases you'll need to select an appropriate cache size in megabytes. You can first look at what your current setting's value is by instead using the gsettings get command.
xpdf is the open-source viewer that works efficiently on very large vector images.
The only drawback is that it has an old interface and is not well integrated into gnome; I have to start it from the commandline as it doesn't show up in my Nautilus "open with" list.
qpdfview
For example Evince failed in opening the map (size is 197MB) attached to this paper
EVANS, David JA; EWERTOWSKI, Marek; ORTON, Chris. Eiríksjökull plateau icefield landsystem, Iceland. Journal of Maps, 2016, 12.5: 747-756.
on the other hand qpdfview succeded (but no more of 500% zoom).
Try Foxit-Reader: http://foxitsoftware.com/pdf/desklinux
Only drawback is not being open-source but it works just fine.
I recently ported a project from VC6 to VS2012, fairly successfully. Trying to change out the splash screens and icon that were previously bad looking bitmaps. From the looks of it, 256 color bitmaps.
So, I made new bitmaps and tried to put them in and constantly get:
error RC2175: icon.ico is not in 3.00 format
I've searched for what this means and got:
http://msdn.microsoft.com/en-us/library/s49y5a1h(v=VS.80).aspx
error RC2175 : resource file res\icon3.bmp is not in 3.00 format?
And the worthless MSDN page.
I tried making these bitmaps as 24-bit, 256 color and 16 color. I also tried all the different modes Gimp allows mimicing the other, original icons. Also tried loading the bitmaps in MS Paint and re-saving without success.
And this point, I would just like some indication on what 3.00 format is and how to get around it.
So, I made new bitmaps
Which is surely where this went wrong. An .ico file is not just a bitmap. It is a file format of its own that's capable of storing multiple bitmaps. Which have bitmasks that indicate what part of the image is transparent or inverted.
So the best way to read the error message is for what it says: "this is not an icon". It can't meaningfully say more than that, it isn't going to try to guess what kind of file it actually might be. That you could load the file in MS Paint is another strong indication that the file was actually a bitmap and not an icon, Paint can't load icons. It doesn't have the plumbing to allow you to select the specific image from the .ico file you want to edit, nor any way to edit the bitmasks. Renaming a image file to .ico does not create a valid icon file.
You can create or edit icons with Visual Studio or one of many popular icon editing utilities.
How to make thumbnail images for custom Liferay Layouts? If anyone has done it using any open-source software, please help!
In Liferay 6.1 source folder /liferay-portal-src-6.1.0-ce-ga1/portal-web/docroot/layouttpl there is a zip file called thumbnails.zip which in turn contains thumbnails.psd, which contains thumbnail images for all the bundled layout templates. As for an open-source image image editing software, there is Gimp. Unfortunately, I didn't have much luck opening the mentioned file with it - the glossy overlay lost it alpha value and the large background rectangles seemingly lost their gradients and are all solidly colored. You could try Paint.net as well, which also stands in high regard among free image editing software.
The latest version of liferay docs containing any mention of layout templates thumbnails are for Liferay 6.0 series and you can find it here. There is also an empty png layout thumbnail template with proper background gradient, but you would have to make your own gloss over the little light rectangles as well as make the corners round...
All in all, you could also try to make the thumbnails from scratch, give them a more unique look. The image from Liferay docs should give you the idea of what it should like to still look nice next to bundled layouts' thumbnails. I'd just suggest to try and use vector image editing software. The bundled thumbnails all look simple enough to draw them with vectors, which would give you more flexibility and ability to change your mind anytime about details without having to draw everything all over again.
And that's for a 121x121 px image...