Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for a free or commercial programme which will let me open up TIFF files in .NET.
Ideally it would open up in a new window, with 2 restrictions 1) That user isnt able to save the file 2) That there is no print button available.
Does anything come to mind ?
I'm not aware of any solution which can totally prevent saving/printing. However there are a few things you can do.
send a partial image to the browser (i.e. limited to 8bpp, scaled image). For instance, if google maps would use a single TIFF, good luck in saving it a screenshot at a time.
send degraded image to browser (i.e. use LibTIFF.NET to read (part of) the tiff, convert it to lossy JPG and send that to the browser.
combination of both
provide a different css for printer device, which leaves out the image.
open a new browser window without controls.
You may find some good solutions based on Silverlight or flash, which provide a higher degree of control on the freedom of the user in the browser. If you are searching for those specifically, please update your question accordingly.
Good luck
ImageMagick supports a lot of stuff, for instance TIF: http://imagemagick.codeplex.com/
It can be used to convert images to other formats.
If I am reading your question correctly (based on the asp.net tag) you actually want a TIFF-viewer for webbrowser? That is unrelated to .Net. To achieve that you'd have to either install a plugin on all the clients or have a JavaScript/Flash/Silverlight app capable of reading and displaying the picture.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have an upcoming project at work to develop reports displayed in a web page. I've been pointed to SSRS (or possibly Power BI) to build them but I don't really see the point of using it instead of just using web services to send data out to a Javascript front end.
The requirements include:
Sort the data
Filter the data
Group the data
Hide/Show columns
Save user preferences
Output to other formats (.pdf, .xslx)
I haven't worked with SSRS much so maybe I'm missing something, but it seems that we'd have more flexibility in the look/feel of the page, the functionality, and how the data is loaded if we ignored SSRS and rolled our own with little extra effort.
What exactly would be the advantage of using SSRS in this case? Am I right to want to architect my own solution from scratch?
What exactly would be the advantage of using SSRS in this case?
It's mostly that you wouldn't have to build and maintain the content in custom HTML and JavaScript. It's a typical build/buy tradeoff, and one that's often driven by the desire to have a high velocity of change, and to enable single person, and perhaps even a non-developer, create or maintain the reports.
Also .pdf and .xslx rendering are non-trivial, and typically require separate design and layout.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Let me first explain what I am trying to achieve... I would like to develop a website that offers some product. This product consists of multiple parts (for example, say a car). The user selects different parts and an image is generated dynamically to preview what the product would look like.
I know how to set the website up, manage database connections, and do all of that. My question is simple: Is there an existing framework that would help me to manage the manipulation of the images easily? My intention is to have separate images of each part and to overlay them in a determined fashion to develop the full product.
I think this would be possible with some fancy manipulation of the basic image controls, but I thought I would see if there was anything to make my job easier. I haven't done much with images in .NET so I don't really know what is available to me as of yet. I am experienced with images in C++ and C.
Note: This is only for research purposes, I am not developing this for any client or job. I just want to see how to do it. I am open to using regular .NET or MVC, depending on which would be most helpful for this.
Thank you for any help that you can offer.
You will need to create a full image of the car but have specific segments which you can identify through code. So your full image can be an "Image Sprite" and then you can show/hide specific chunks as the user is selecting/deselecting those segments. Here is an example that uses CSS to show specific parts of a full image. In that example, the images are separated using CSS, but you would not do that for your case. You would simply hide or show them.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I sell a theme for a well known php web script. The theme that I sell is only CSS, I wrote this CSS code and it's about 700 lines of code.
I'm starting to get the suspicion that people are illegally using my theme so my question is, is there a website where I can paste my CSS code and it will check other websites for the same CSS code?
For example, the website CopyScape.com will check websites for matching content, but not CSS.
If anyone can help, it would be great. Thanks!
The ability to search multiple websites for matching or similar code, is a little slow and can be faulted easily.. Say for example, if the css file is generated using PHP and is only visible on a valid / active session..
This would mask the use and ability for someone like google to index it anyway..
Generally people use callback type methods, Say for example... Some where hidden or hard to find... you would have a simple 1 pixel image that is actually a direct/absolute URL to your webserver.
When the image is requested, you have a server side language like PHP grab the requesting URL and log that while still returning the correct 1 pixel image so to them it does not seem obvious what is happening.
As long as somewhere in your template you have a link/script/image/iframe or some other means of requesting a file.. You can catch a few of these people easily..
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for automated tools to help me refactor a bunch of CSS files, for example:
Remove unnecessary selectors (e.g. not used inside the page)
detect repeatable rules inside several selectors and suggest a merge
Are there any such tools?
Thanks!
Yes Google Page Speed does this CSS investigation. Link:
http://code.google.com/speed/page-speed/docs/overview.html
not totally automated, but this one works well.
I like the fact that I can see what I'm changing. While I've done UI for 15 years, there's always little things that I notice myself repeating via using this tool. In the long run, doing things a bit manually is going to make me a better developer.
Doing one that looks for unnecessary selectors is a dangerous game. You could do it, but if you ever find yourself doing dynamic and/or ajax injected divs, you'll immediately blow up your page or app using an automated tool. If you do it, make sure it's not something that works on the fly, without some sort of very good testing environment to verify the resulting output. My current corporate clients would never allow me to use any sort of point-of-request tool based on their requirements of 100% tested and verified CSS.
This tool can do automatic css refactoring, though its value in project still need to evaluate carefully.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I work for a university and we have access to the full Adobe suite so software isn't an issue (but I'm not all that familiar with using it). I'm working with a college who needs to rebuild a PDF using a report builder but there aren't any specifications on how to emulate the PDF. How could I provide him with some valuable information on spacing and font types and that sort of thing.
I think I get what you're going for here...
If you're trying to edit PDFs, Adobe Illustrator or Acrobat are good tools, although they do different things: Illustrator is a graphic design program, and Acrobat is a business document toolkit.
If you're trying to emulate an existing PDF and need to extract font sizes, typefaces, spacing and such, your task might be as simple as opening the PDF in Adobe Illustrator (PDF is essentially Illustrator's native file format), clicking on the text you want to emulate, and reading the values Illustrator presents to you (Window >> Type >> Character / Paragraph).
Using the Control toolbar (Window >> Control) will make it easier to manipulate and see values. Also, turn on the Rulers (Control-R), or use the Measure tool, if you need to measure arbitrary space in the document.